MATLAB: Is the licensing server contacted everytime I run the deployed application

compilerdeployedlicensingMATLAB Compilermatlabrootmcrrootserver

My licensing server is contacted everytime I run my deployed application. I am running my deployed application off a network drive. My MATLABHOME environment variable is set to my MATLABROOT on the network.

Best Answer

When running a depoloyed application, please make sure that the environment variable MATLABHOME is always set to MCRROOT. If not, the application will run as though it is running inside MATLAB. Hence, the licensing server will be contacted.