Info about Matlab

Matlab is available free for all members of BCS, and all CVS members who have appointments in AS&E.

Installing a new copy of Matlab

1) While connected to a non-guest UR network, visit this website and download a copy of Matlab appropriate for your computer: http://www.cvs.rochester.edu/cvspriv/downloads/matlab

Please note that for the older versions of Matlab, it will take an appreciable amount of time to download the software.

For all versions of Matlab 2015b and earlier

2) Decompress the installer and run the "Install Matlab" program. Please note that the Windows downloads require the free 7Zip compression program to decompress the files. It can be downloaded here: http://www.7-zip.org/

3) During the installation process, you will need to enter your Mathworks login credentials. If you don't currently have a Mathworks account, the installer gives you an option to create one. Please do so using your UR e-mail address. This is necessary so your account gets associated with the University's site license.

4) The installation process may ask you for an activation code. The UR code is: 28093-41703-14274-60467-52214.

5) At the end of the install process, the copy of Matlab should activate itself. If it does, you're all set.

For the 2015b and later versions of Matlab

2) For the 2015b and later versions, you need to be connected to the Internet. Run the executable that you downloaded. It will ask for your Mathworks credentials. If you don't currently have a Mathworks account, the installer gives you an option to create one. You need to use a UR e-mail address for this account. Enter your credentials, then the program will begin the installation process.

3) The installer will automatically identify you has a UR user, and load in the site license information automatically. No need to manually enter an activation code. Accept all default setting in the subsequent windows, and installation will begin. Since this installer is downloading all of the necessary files over the Internet, it may take an hour or more for Matlab to finish installing.

4) Once the install is complete, Matlab should automatically activate itself. Once it does, the program is ready to use.

License issues

The University's Matlab site license goes through an annual renewal process, and this can result in your copy of Matlab showing warnings about the license expiring. To remove the warning, click on "Help-> Licensing -> Update Current License". Matlab should then retrieve the new license from Mathworks and you'll be good for another year.

If this does not fix the problem, then you will need to deactivate and reactivate your copy of Matlab. You need an account with Mathworks that uses a UR e-mail address to do this.

1) On a Windows computer, first quit Matlab. Then on the desktop click on 'Start->All Programs' and select the Matlab *folder*. Inside, you should see three files..Activate Matlab, Deactivate Matlab, and Matlab itself. On a Mac, right-click (or Control-click, or two-finger click on MacBook Pro trackpad) on the Matlab application itself and select "Show Package Contents" from the resulting window. Inside this, you'll find separate activation and deactivation programs for Matlab.

2) Run the deactivate program to deactivate your copy of Matlab.

3) Run the activate program, login with your Mathworks account, and reactivate Matlab. If you're running an older version of Matlab (earlier than the 2014 versions if I remember correctly), you will need the University's Matlab activation code to do this. The UR code is: 28093-41703-14274-60467-52214.

I get an error on a Mac saying that the license file cannot be written to disk

Common problem with the Mac version...it's a file permissions issue.

Fix the file permissions for the Matlab directory:

Open the /Applications/Utilities/Terminal app and in the resulting window, type the following CASE-SENSITIVE commands at the command prompt ("<space>" means a single press of the space bar). I'm assuming you have Matlab R2013a...if not, adjust the second command accordingly:

sudo<space> -s (hit return, then enter your OSX password to make yourself the superuser)

cd<space>/Applications/MATLAB_R2013a (then hit return to switch to the Matlab directory)

chmod<space>-R<space>777<space>* (then hit return to make all files in the Matlab folder read/writable by you)

exit (then hit return to quit being superuser)

exit (then hit return to exit the terminal session)

Once you enter all of these commands, you should now be able to activate the software.

ComputerHelp: MatlabInfo (last edited 2017-01-18 19:13:27 by WikiAdministrator)

MoinMoin Appliance - Powered by TurnKey Linux