Monday, October 8, 2012

Run MATLAB script in terminal

Just type command like following.

matlab -nojvm -nodesktop -r "run <the-script>.m"
matlab -nojvm -nodesktop -r "<the-script>"
matlab -nojvm -nodesktop -r "run <the/path>/<the-script>.m"

No comments:

Post a Comment