Noninteractive Matlab

The following command runs a matlab script under Linux in a batch mode:

jchen@peach $ matlab -nodesktop -r my_script

Remember to put the exit command at the end of the script my_script.m to enforce Matlab to quit. This noninterative way is useful when you are submitting a job to a machine that you cannot interact with. Usually this machine is a super computer..


0 Responses to “Noninteractive Matlab”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


Blog Stats

  • 254,469 hits

%d bloggers like this: