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

 Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 6 Août 2012
Modifié(e) : Kaustubha Govind le 6 Août 2012

2 votes

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 commentaire

Darin McCoy
Darin McCoy le 6 Août 2012
yup - the full path thing worked - thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by