Determine if the Matlab license is server or user

I noticed that there are many different tastes of MATLAB. Some licenses require constant contact with the licensing server, and when disconnected, the client will display some message, for example, "unable to contact the licensing server, will stop working if the connection is not restored in X minutes." Others are standalone installations without such restrictions. My question is: is there a way to find out what type of MATLAB license I installed from the command line?

+4
source share
2 answers

You can check if you have a file called network.lic in the $ matlabroot / license folder. If so, most likely you are using a network installation.

 hasNetworkLicense = exist(fullfile(matlabroot,'licenses','network.lic'),'file') == 2; 
+3
source

Matlab has a LICENSE function that returns information about available tools, etc. I'm not sure if it will tell you the level of detail you are looking for. Note that this is done from the Matlab command line, not the shell command line. From your question, I was not sure what you were looking for.

0
source

Source: https://habr.com/ru/post/1309699/


All Articles