start MATLAB in command line mode from bash/linux console

Sometimes I want to start matlab without having the (lame) X interface. Instead of, I just use the command line. For this purpose, just run:

Or even easier, by adding a small script in /$MATLAB_HOME/bin maybe named “matlabnoX” with the content above. Make sure to chmod the file such that it is runnable!

Leave a Reply

Your email address will not be published. Required fields are marked *