Run Matlab command line

3 views (last 30 days)
Darin McCoy
Darin McCoy on 6 Aug 2012
I would like to run a specific version of Matlab command line.
Right now, my latest version of matlab is 2011B (running in 64 bit). However, I would like to run 2011A (which is running in 32 bit).
If i want to do a command line operation for 2011B...all i have to do is type
matlab "(name of my file)"
how do i run 2011A (the older version) command line in this case??

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 6 Aug 2012
Edited: Kaustubha Govind on 6 Aug 2012
Try
matlab -r "(name of my file)"
If you want to run a specific version of MATLAB, perhaps you should specify the full path to that version of MATLAB.
  1 Comment
Darin McCoy
Darin McCoy on 6 Aug 2012
yup - the full path thing worked - thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!