My computer is dual-boot and runs some combination of Windows, Linux, and MacOS on the same hardware. Can I use the same MATLAB license in each OS? Does activating on each OS consume a new activation?
MATLAB: Is it possible to setup MATLAB on a dual boot computer
MATLAB
Related Solutions
There are a few reasons why this error can occur:
1) The DAEMON line in your license.dat file is incorrect or missing.
For license server, the DAEMON line should read:
Windows
---------
DAEMON MLM $MATLAB\etc\win{32|64}\mlm.exe ($MATLAB\flexlm\mlm.exe for releases prior to R2010b on Windows)
(where $MATLAB is the MATLAB installation directory)
Linux/Mac
------------------
DAEMON MLM $MATLAB/etc/glnx{86|a64}/MLM
(where $MATLAB is the MATLAB installation directory)
(NOTE: prior to R2011a, the DAEMON line on Linux/Mac was "DAEMON MLM $MATLAB/etc/glnx{86|a64}/lm_matlab")
NOTE: Once you have made changes to your license file, be sure to restart the network license manager for these changes to take effect. For more information on how to restart the license manager, see the Related Solution listed below.
2) The SERVER line in the license.dat file on a client does not match the license.dat file on the server.
If you are running MATLAB using a concurrent license and you are on a client machine, make sure the SERVER line in your license.dat file matches that of the license.dat file on your license server.
The license file on the client machine varies depending upon operating system and version. For R2008a and above, the license file is generally called network.lic and is located in $MATLAB\licenses (where $MATLAB is the MATLAB installation directory). For versions prior to R2008a, the license file will generally be the following:
Windows
---------
$MATLAB\bin\win32 (for 32-bit MATLAB) $MATLAB\bin\win64 (for 64-bit MATLAB)
Linux/Unix/Mac
------------------
$MATLAB/etc
(where $MATLAB is the MATLAB installation directory)
The license.dat file on the server machine is located in:
$MATLABROOT/etc ($MATLAB\flexlm for releases prior to R2010b on Windows)
(where $MATLAB is the MATLAB installation directory)
3) The TCP port number used to communicate with the license server is already being used by another application.
For more information on finding an open port, see the Related Solution listed below .
For Named User or Designated Computer licenses then VM are not counted as separate machines . For those licenses , using a VM has the same status as starting up another copy of matlab on the same machine .
That said , to run a VM you need a MAC address associated with its virtual internet interface . Matlab is going to compare that mac address to the license file and reject if there is no match. Typically you need to use a different mac address than the host is using so that the vm can distinguish whether the packets are for the host or the VM . I know that Parallels has an option to share mac address but I seem to recall that it works by using a different mac internally and translating in the virtual interface for packets going off host. I have not experimented to see how it interacts with matlab licenses .
What I do for simplicity is assign the same mac address to all my Windows vm and a different mac for my linux vm both different than my host mac. The license I am using permits up to 4 activations so that permits me to use osx plus Windows vm plus linux vm simultaneously .
If you were dual booting then that would not be a license problem as you do not license per os, only per activated machine no matter which os.
If you have a Student license or Home license then you are restricted to one activation and at that point the Mac address used inside the vm becomes the challenge .
Best Answer