How can I run a specific version of matlab in non java mode using -nojvm?

Hello!
I need to use matlab in non-java mode using the command matlab -nojvm. I have multiple versions of matlab installed, R2014b and R2019a. When I open the non-java matlab window, it automatically opens the R2019a version. However, I need to use R2014b. How do I specify the version of matlab I want to open in non java mode?
Thank you,
Yuqi

2 Comments

How are you opening MATLAB in -nojvm mode? Are you using a shortcut, are you running the executable from a command prompt, are you double-clicking on a file associated with MATLAB, or are you doing something else?
I'm using a PC windows 7 and I type "matlab -nojvm" from a command prompt. This is the only way I know. If there are other ways to do it that enables specifying a matlab version, that would be great!

Sign in to comment.

 Accepted Answer

You could specify the full path to the MATLAB executable that you want to launch either in the command prompt or in the target of a shortcut.

More Answers (0)

Categories

Asked:

on 1 Feb 2021

Commented:

on 1 Feb 2021

Community Treasure Hunt

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

Start Hunting!