Categories
Matlab Question and answers

Can We Run MATLAB without Graphics?

Sometimes we may want to run scripts that involve plotting commands without showing the plots and without going into the script to comment out the commands.

An example: if we are working from home and it’s too slow to run graphics over the network. We can play a simple UNIX trick:
%setenv DISPLAY /dev/null % matlab

Leave a Reply

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