MATLAB: Does MATLAB release R13 and below ignore the -c startup flag when LM_LICENSE_FILE or MLM_LICENSE_FILE is set

MATLAB

I would like to start MATLAB with specifying license information by setting –c option. However, this setting is ignored when starting MATLAB.

Best Answer

As of MATLAB R14, the -c startup flag can be used to override the default license search path. For MATLAB R13 and below, the environment variables LM_LICENSE_FILE and MLM_LICENSE_FILE have the highest priority and will ignore the -c option. If these variables are not set, you can use the -c option with these versions.