MATLAB has a GUI that is great for editing code, inspecting runtime values and debugging. However, there are some situations when you may want to run MATLAB without the GUI. For example, you are running Matlab from over SSH and X cannot be used or is too slow over the network. Thankfully, MATLAB provides a decent console version of itself.
$ matlab -nodisplay
If your EDITOR
environment variable is set, you can edit files using edit foo.m
at the MATLAB command prompt.
The full power of debugging is available by using the debug commands as described here.
Some people suggest using the -nojvm
option. This is not recommended. Many MATLAB features, like the parallel cluster require the JVM to work.
Tried with: MATLAB R2014a and Ubuntu 14.04