MATLAB Answers

0

License Manager Error -9

Asked by Liam Hunter on 19 Apr 2019
Latest activity Commented on by Liam Hunter on 19 Apr 2019
Recently purchased Matlab software license and installed on my windows partition of my computer. Tried to install it on my linux partition for when I am not using windows. Installed fine, typed "matlab" into the terminal and recieved the "License Manager Error -9", "Your username does not match the username in the license file.". Can I use matlab without changing the username on my linux machine?

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 19 Apr 2019
 Accepted Answer

Yes. It is permitted to run MATLAB dual-booted on the same machine, as long as the hardware identification information matches. As Window's idea of a nice hardware MAC differs from Linux's, there is a possibility that you might need to use udev naming rules to nail down the same MAC address for both operating systems.
You do not need to use the same username on the different operating systems.
The most common cause of getting the error 9 on Linux in these kinds of circumstances, is having accidentally typed in root as the username when activating under linux. You need to go back through the activation process and ensure that the name you use is the same as whoami shows . (Running MATLAB under sudo root is not recommended.)

  1 Comment

Thank you, I ran "sudo ./activate_matlab.sh" from the directory "/usr/local/MATLAB/R2019a/bin" and entered the username for the linux account matlab was installed on and it worked perfectly.

Sign in to comment.