Why does the network license manager not start at boot time on my Mac OS X machine after setting up the MATLABLmgr script?

3 views (last 30 days)
When I place the MATLABLmgr script in the Startup Items it doesn't start the network license manager after rebooting. However, I am able to start the license manager manually through a Terminal window and then bring up MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Feb 2019
If the MATLABLmgr script was not edited correctly, then the network license manager will not start up automatically at boot time. Please make sure the script was edited using TextEdit and not saved in Rich-Text Format (.rtf).
1. In the Finder, double-click the TextEdit icon in the /Applications folder
2. Select "Open…" from the File menu and open the MATLABLmgr script
3. Choose the "Make Plain Text" option from the Format menu.
4. Choose "Save As" from the File menu and call the file "MATLABLmgr" and leave the Plain Text Encoding as "Western (Mac OS Roman)"
5. Click the "Save" button. You may receive a message asking if you would like to append ".txt" to the file name. Choose "Don't Append"
When editing the script, please make sure that when you entered your MATLAB installation directory and username that you removed the '|', '>', and '<' characters. For example, if installing into the default location (ie /Applications/MATLAB7) and using the username 'jsmith' the resulting edits will look like the following:
MATLAB=/Applications/MATLAB7
ME=jsmith
Once the script is edited, please make sure that you are navigating to the Library folder at the top level of your hard drive and that a StartupItems folder has been created within the Library folder.
Also, verify that the file permissions on the MATLABLmgr script are marked as executable. Open a Terminal (Applications => Utilities => Terminal) and type the following:
cd /Library/StartupItems/MATLABLmgr
ls -l
The output should include the following line:
-rwxr-xr-x 1 jmarr users 1171 Jun 22 2002 MATLABLmgr*
This indicates the script is executable. To make the MATLABLmgr script executable, type the following:
sudo chmod 755 ./MATLABLmgr
To test the script, type the following:
sudo ./MATLABLmgr start

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!