Installation for Scripting: Octave

Navigation:  Toolboxes > Scripting Toolbox >

Installation for Scripting: Octave

Previous pageReturn to chapter overviewNext page

What is Octave?

GNU Octave is a high-level language, primarily intended for numerical computations. The package is open source and can be freely distibuted. GNU Octave offers functionality similar to Matlab users. If you have experience with Matlab, running Octave will be very easy. Users with no experience with Octave nor Matlab are advised to read a proper introduction to GNU Octave first. You will find lot of pages and movies on the Internet.


Both Octave-3.6.2 and Octave-3.6.4 have been tested with 20-sim scripting at the time of release.

1.Go to: and follow the instructions.

If this webpage is unavailable, you can follow the instructions below:

1.Go to the Octave download site (
2.Click on the Files tab and click on Octave Windows Binaries.
3.Select the Octave 3.6.4 for Windows MinGW installer.
4.Now you can download the files Octave3.6.4_gcc4.6.2_yyyyxxxx.7z (Octave Installation) and Octave3.6.4_gcc4.6.2_pkgs_yyyyxxxx.7z (Octaveforge Packages).
5.Create an installation directory of which doesn't have space chars (i.e. C:\Octave).
6.Unzip the file Octave3.6.4_gcc4.6.2_yyyyxxxx.7z and copy it to the installation directory.
7.Copy the shortcut link C:\Octave\Octave3.6.4_gcc4.6.2.lnk to your desktop. This is a shortcut to start Octave.exe.

Note: Unzipping can be done with programs like 7-zip (

Note: There is a bug with Windows 8 and running octave. In order to use Octave start Octave with octave.exe -i --line-editing. See the Octave wiki webpage for more information.

8.Unzip the file Octave3.6.4_gcc4.6.2_pkgs_yyyyxxxx.7z and copy it to the installation directory.
9.Launch Octave (e.g. the link to Octave.exe).
10.Execute the following five rebuild commands from the Octave console (e.g. re-type every line followed by ENTER):

pkg rebuild -auto

pkg rebuild -noauto ad

pkg rebuild -noauto nan % shadows many statistics functions

pkg rebuild -noauto gsl % shadows some core functions

pkg rebuild -auto java


The Octave command window.

11.Close and restart Octave.


Your Octave installation is now ready to use.