Breaking News

Serial Number Matlab 2010 A License

понедельник 22 апреля admin 78

How do I find my MATLAB license number? Asked by MathWorks Support Team. Britney spears greatest hits my prerogative zip. That you could match against either the ethernet MAC or the hard drive serial number.

I have just installed Matlab R2011a on Ubuntu 12.04 using a standalone licence. The installation appears to have worked properly, and I have run the following to get rid of an error that everyone (including myself) seemed to be having: sudo ln -s /lib/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6 This got rid of the error, but I still have a problem launching Matlab. Each time I launch it (by typing 'matlab' in terminal), the Mathworks software activation window pops up. I provide the path to the licence file, it appears to activate successfully (no errors), but then Matlab doesn't launch. If I try to run it again, the same thing happens.

Does anyone know what might be going wrong? My last install was 10.04, and I had absolutely no problems running 2011a. After toying around with the activation client I finally have a good answer as to why MATLAB will not activate. Here are the steps to getting everything working!!

This is also assuming that you have MATLAB installed and cannot get it to launch. Quick questions to ask yourself • Did I launch the installer as root? • Where did I install MATLAB? If you installed as root (which you should have) then your fine. If not uninstall and install as root.

Lets get to it! • cd to into where you installed MATLAB For me it was the default that was given but you may have wanted to install it in a different location. Default install location: /usr/local/MATLAB/R(year)(a or b) • Now you can list everything that is in that directory by typing ls into the terminal window. • Now type cd once more by typing cd bin (this is where the activation client is stored) • Type in the terminal sudo./activate_matlab.sh • Now a window will pop up just like it did when you were installing it.

This time you need check the bubble in front of 'Activate manually without the Internet.' • Now check the bubble in front of 'I do not have a license file. Help me with the next steps.'

• Here you will find your computers basic install info. This was just to check what your computer login name was and to make sure it is root. • Now go back to the beginning of the activation client menu and fill in the bubble that says 'Activate automatically using the Internet.' • Do everything you did before except this time at the end of the activation when it asks you to type in the name of your computers user, you need to type root, instead of your username or instead of anything you want to put. • Optional: if you haven't already done it, you can install matlab-support so you can launch it after you finish activating MATLAB.

You can do this by typing sudo apt-get install matlab-support I hope this helps! Way too old thread but viewed 4523 times and active 16 days ago so still relevant I guess. Here is how you solve it. In my case the folder '~/.matlab/R2015a_licenses/' did not exist. Though '~/.matlab' did. So I created R2015a_licenses.

Now the problem is this folder was accessible only to root. So the activation application could not write the required file. So change the permission of this folder using 'sudo chmod 777 R2015a_licenses'.

Now run matlab normally(no sudo). It should take you to the activation client.

Serial

Otherwise run the activation client manually(no sudo), it is called 'activate_matlab.sh' in the bin folder. Follow the steps and let it detect the user-name and do not change it. When it exits without error you are done with the licence part. Now there could be another problem that your matlab freezes just after the opening window and doesn't go any further.

'Go to the '.matlab/' directory in the users home directory. Rename the directory named after the version of MATLAB you are using to have _old at the end. If there is a folder with '_licenses' in the name, DO NOT rename that folder' kind of worked. By kind of I mean matlab complained that it cant write preferences in '~/.matlab'. So I changed the permission for that folder by 'chmod' and then it worked. If you are still reading your problem is pretty bad.

Good luck with it. Mathworks has clearly done a very bad job with matlab ubuntu. I asked Matlab tech-support how this can be fixed, and they said this issue can occur if you have a previous MATLAB trial license file present on your system. To fix this delete all files in the following two folders: $MATLAB/licenses/ (where $MATLAB is the directory where you installed MATLAB. The default is /usr/local/matlab/R2015a/licenses/) ~/.matlab/R2015a_licenses/ cd ~/.matlab/R2015a_licenses/ rm./license.lic Once you have deleted all files within these folders, try launching MATLAB again. Launch it as your regular username, not as sudo or root.