Tags: faq octave

Can I use Octave instead of MATLAB?

From the Octave website: “GNU Octave is a high-level interpreted language, primarily intended for numerical computations… The Octave language is quite similar to MATLAB so that most programs are easily portable.”

There are quite some people interested in this, mainly because Octave provides a free alternative to MATLAB. FieldTrip development primarily aims at MATLAB and at the Donders we do all our analyses in MATLAB. Many of the core computations that you can do with FieldTrip can in principle also be performed using Octave. Parts of the code (e.g., the plotting functions) are written in a way that is rather MATLAB specific.

Some people have reported that Octave works fine for them, although we don’t have precise details on what works and what not.

Relevant is that Octave 3.4.0 is much faster on matrix operations than previous versions and has an improved compatibility with scripts and functions that have been written for MATLAB.

On the email discussion list there is a relevant thread that you might find interesting.

Tags: faq octave