Run Matlab command line

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??

 采纳的回答

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.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by