skip to content

Using Matlab

Installing Matlab on your own computer

Versions and starting matlab

To start the default version of matlab type matlab or use the menu item under XUbuntu etc.

To avoid the startup message and graphical stuff you can use:

  matlab -nosplash -nodesktop

While to start matlab with out the java parts (and much simpler graphics):

  matlab -nosplash -nojvm

Some non-default versions of matlab (e.g. old releases or new ones being tested), may also be available. In general unless you know exactly what you are doing (e.g. to test if code works on an older version) it is safest to normally the default version.

Matlab Compiler - mcc

To run the Matlab compiler (mcc) you need to call the explicit version, such as mcc-r2019a (this is because the Mathematica mcc compiler is also installed on the UNIX system and has the same name). Or simply compile your code using the interfaces provided inside matlab.

Matlab Help

Matlab has a very useful built-in help system which can provide information about commands and give examples of use.

For example to get help about printing with matlab enter helpĀ print from inside matlab.

Useful Links


You can check if your matlab code works in octave (a free matlab like system), which is installed on all of our Linux machine. The command is octave.