Answer:
Sometimes you may want to run scripts which contain plotting commands without displaying the plots and without going into the script to comment out the commands. An example: if you're working from home and it's too slow to run graphics over the network. You can play a simple UNIX trick: % setenv DISPLAY /dev/null % matlab
Previous Question | Next Question |
Explain LaTeX in Matlab? | How to correctly apply the graphics patches in Matlab? |