MATLAB Answers

Why do I receive License Manager Error -9?

조회 수: 50,002(최근 30일)
MathWorks Support Team
MathWorks Support Team 2013년 3월 5일
댓글: Walter Roberson 2021년 10월 20일 5:35
When I try to launch MATLAB, I get the following error:
ERROR: License checkout failed. Invalid host. License Manager Error -9

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 3월 5일
편집: MathWorks Support Team 2021년 3월 5일
The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client.
Windows
The activation client is located here:
C:\Program Files\MATLAB\R20XXx\bin\winXX\activate_matlab.exe
Mac
  • Open Finder.
  • Go to "Applications".
  • Right-click or control-click on the MATLAB application icon. (e.g. MATLAB_R2015b.app)
  • Click on "Show Package Contents".
  • Open "Activate.app".
Linux
The activation client is located here:
/usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
Once you have launched the MATLAB activation client:
  1. Select "Activate automatically using the internet."
  2. Log into your MathWorks account.
  3. Select the correct license.
  4. The username field should auto-populate with the correct user name. Leave it as is.
  5. Confirm the activation information.
  6. Click "finish" to complete the activation process.
  7. Restart MATLAB.
Still seeing a License Manager Error -9?
  • The username in the license file does not match (usernames are case sensitive)
  • The Host ID in the license file does not match
  • You have a Designated Computer MATLAB license and MATLAB is already running under a different user account on this computer.
Confirm your Username and Host ID using the activation client:
  1. Run the activation client and select "Activate manually without using the Internet."
  2. Choose “I do not have a license file. Help me with the next steps.”
  3. Copy your Host ID and Computer Login Name.
  4. Click the back arrow 2 times and choose “Activate automatically using the Internet” then input the appropriate username.
  5. Launch MATLAB using the appropriate user account.
Activation client requires elevated privileges to run? Connection error when Activating automatically? Still seeing a License Manager Error – 9?
How do I activate MATLAB without an internet connection?
  댓글 수: 162
Walter Roberson
Walter Roberson 2021년 10월 15일 5:01
People have also argued that it is the university's responsibility to aupply textbooks that are required for courses.
Unfortunately, in some countries, especially with private universities, some universities seem to specialize in wringing money out of students. Fees for everything.
IIRC, way way back there was a modest lab fee for one of my chemistry courses. Computing courses that require non-commercial software licenses but don't want to buy campus licenses, but are required to provide the software, would just charge the costs back as a "lab fee".

댓글을 달려면 로그인하십시오.

추가 답변(99개)

Dandan Zhang
Dandan Zhang 2016년 3월 12일
Note: It's your Windows User Name rather than Microsoft Account Name.
You can determine your Windows username as follows:
  1. 1.While sitting at the host computer with press and hold the Windows key and press the letter R on your keyboard.
  2. 2.The Run box will appear.
  3. 3.In the box, type cmd and press Enter. The command prompt window will appear.
  4. 4.Type echo %username% and press Enter. (there is a space between echo and %username%)
  5. 5.Your current username will be displayed.
  댓글 수: 52