-->

Thursday, March 27, 2014

Matlab error: Activation cannot proceed on centos 6.4

You get back from the pub, you mess around with your Centos bash and network configuration..et voila' matlab does not run anymore. Why? No bloody idea....

root@ip-myip:/media/tools# matlab

Warning: No display specified.  You will not be able to display graphics on the screen.
root@ip-myip:/media/tools#
---------------------------------------------------------------------------
Error: Activation cannot proceed. You may either:
1. Set an X11 display, and restart the activation process
2. Use the silent activation feature
3. Activate using the license center
---------------------------------------------------------------------------

No worries: a couple of lines changed in the correct file and everything will be back. 

First edit the silent activation file. In my case this is the file that I have to edit


emacs /usr/local/MATLAB/R2012a/activate.ini

I am assuming here that you have the lic_standalone.dat file in your matlab root directory /usr/local/MATLAB/R2012a/. The only thing that you have to do is modify lic_standalone.dat and set the following variables to the value below:

activateCommand=activateOffline

licenseFile=/usr/local/MATLAB/R2012a/lic_standalone.dat

No comments:

Post a Comment