Skip to content

GNU Octave

Free scientific computing language for people with existing MATLAB scripts

Copyleft (OSI) · GPL-3.0+
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

Overview

Stars

–

Last commit

–

–

Repository age

–

Latest version

–

Contributors

–

Releases

–

last 12 months

GNU Octave is a programming language for numerical and scientific computing. It has a command-line interface and a graphical interface, and it runs on Linux, macOS and Windows. You can install it through Flathub or Homebrew.

Octave's syntax is largely compatible with MATLAB, so many existing scripts run with little or no change. You use it for matrix math, linear algebra, solving equations, data analysis and plotting. It is released under GPL-3.0 or later, and you can use it without license fees.

It is a direct replacement for MATLAB when your work is script-based. It does not include Simulink-style block-diagram modeling, and it has fewer official toolboxes. There is no official notebook-style live editor either. It runs locally on your machine and is not something you host as a service.

Who it's for

Students and researchers with MATLAB course or lab scripts

Largely compatible syntax lets you run existing scripts without paying for a license.

Skip if: Your coursework depends on Simulink or specific MATLAB toolboxes.

Engineers running numerical batch jobs from the command line

It runs as a CLI tool and works well for scripted analysis.

Skip if: You need a notebook-style live editor from the vendor.

The problem it solves

MATLAB licenses are costly, and sharing scripts with people who lack a license is awkward. Octave lets you run much of that code on a free language without rewriting it.

Strengths

  • Syntax largely compatible with MATLAB scripts
  • Licensed GPL-3.0 or later, free to use and modify
  • Available as a CLI and installable via Flathub or Homebrew
  • Runs on Linux and macOS

Trade-offs

  • No Simulink-style block-diagram modeling
  • Fewer official toolboxes than MATLAB
  • No official notebook-style live editor
  • Compatibility is not complete, so some scripts need edits

GNU Octave replaces

Frequently asked questions

Is GNU Octave free?

Yes. It is released under GPL-3.0 or later and has no license fee.

Can it run MATLAB scripts?

Often, yes. Its syntax is mostly compatible, but some functions and toolbox features are missing.

Which platforms does it support?

Linux and macOS, with a CLI. You can install it with Flathub or Homebrew.

Does it replace Simulink?

No. It has no Simulink-style block-diagram modeling.

GNU Octave compared

Other MATLAB alternatives

Compare all 4 MATLAB alternatives →

Similar tools in Math and scientific computing software

SSPlot

Math and scientific computing software

6 3 4 months ago Slowing LGPL-2.1

Funkcio

Math and scientific computing software

5 3 6 years ago Dormant GPL-3.0

Genius

Math and scientific computing software

5 9 2 months ago Slowing GPL-3.0

Scilab

Math and scientific computing software

Free numerical computing environment with Xcos simulation for engineers and students

CECILL-2.1 or GPL-2.0+

Replaces MATLAB

TeXmacs

Math and scientific computing software

GPL-2.0-or-later