Skip to content
Gratistack, home
Menu

GNU Octave vs MATLAB

MATLAB and GNU Octave, one of its free alternatives, side by side.

Side by side

GNU Octave vs MATLAB: facts
FactGNU OctaveMATLAB
LicenseLicense: Open sourceGPL-3.0-or-laterLicense: Paid
MaintenanceStatus: UnknownStatus: Verified
WindowsYesYes
macOSYesYes
LinuxYesYes
WebNoYes
Self-hostableNoNo
Works offlineYesYes
No account neededYesNo
Parity with MATLAB36%The reference

License classes: Open source and Paid. Status rules: Active means a commit in the last 90 days. See the methodology.

Feature parity with MATLAB

How GNU Octave covers what people use MATLAB for.

Computation

  • Matrix computing and numerical analysis

    GNU Octave
    Yes
    Syntax is largely compatible with MATLAB

Libraries

  • Domain toolboxes (signal, control, statistics)

    GNU Octave
    Partial
    Octave Forge packages for signal and control; fewer than MathWorks toolboxes

Modeling

  • Simulink block-diagram modeling

    GNU Octave
    No

Interface

  • Live scripts with code and output

    GNU Octave
    No
    No .mlx live scripts

Output

  • 2D and 3D plotting

    GNU Octave
    Partial
    2D and 3D plots with fewer options than MATLAB

Deployment

  • App building with GUIs

    GNU Octave
    Partial
    Basic GUI controls; no App Designer
  • Code generation for C, C++ and HDL

    GNU Octave
    No

Parity score

GNU Octave
36%

All free alternatives to MATLAB

File formats

  • .m

    GNU Octave
    Opens and savesPartial fidelity
    Runs most scripts; some toolbox functions and newer syntax are missing
    MATLAB
    Opens and savesFull fidelity
  • .mat

    GNU Octave
    Opens and savesPartial fidelity
    Reads and writes MAT files; some MATLAB object types such as tables do not carry over
    MATLAB
    Opens and savesFull fidelity
  • .slx

    GNU Octave
    No
    No Simulink support
    MATLAB
    Opens and savesFull fidelity
  • .mlx

    GNU Octave
    No
    No live script support
    MATLAB
    Opens and savesFull fidelity
  • .csv

    GNU Octave
    Opens and savesFull fidelity
    MATLAB
    Opens and savesFull fidelity
  • .xlsx

    GNU Octave
    Opens and savesPartial fidelity
    Through the io package from Octave Forge
    MATLAB
    Opens and savesFull fidelity