MATLAB: Can I use Login-Named User on an Academic License

MATLAB

Can I use Login Named User on an Academic license?

Best Answer

By default, Login Named User is enabled for use on Academic licenses. However, in order to set up an installation of MATLAB to prompt users for a login, an XML file (attached to this article) must be placed within the licenses directory of the installation.
Windows:
C:\Program Files\MATLAB\R20XXx\licenses
Linux:
/usr/local/MATLAB/R20XXx/licenses
macOS:
/Applications/MATLAB_R20XXx.app/licenses
Right click on the MATLAB application and click show package contents to open the MATLAB_R20XXx.app folder.)
Alternatively, the "-licmode online" startup flag can be used to start MATLAB in LNU mode without the need for an xml file.
To launch MATLAB with a startup flag:
  1. Open a command prompt/terminal window
  2. Enter the path to the MATLAB executable and the “-licmode online” flag.
  • *Windows: *"$MATLAB\bin\win64\MATLAB.exe" -licmode online
  • *Mac and Linux: *./matlab -licmode online
After one of these has been done, launching MATLAB should prompt the user to log in.