Skip over navigation

R2013b

Network Installation for Windows 7/Vista/XP Computers

Software installation cannot be completed over a wireless connection. Please use an Ethernet connection to run these processes.

  1. Click on the Start menu in the lower left hand corner of your desktop. Right click on "Computer" (Windows 7/Vista) or "My Computer" (Windows XP) and select "Map Network Drive".
  2. In the "Map Network Drive" window type \\files.princeton.edu\licensed\Products\Matlab\R2013b\MSWindows into the folder section.  Leave "Reconnect at logon" unchecked and check "Connect using different credentials" (Window 7/Vista) and click "Finish".   Proceed to step 3.  For Windows XP leave "Reconnect at logon" unchecked and click the link for "different user name".  In the "Connect As.." box type "Princeton\Netid", subtitute "NetID" with your NetID, use your Princeton password and click "OK".  Then click "Finish".
  3. In the "Windows Security" window type "Princeton\NetID", subtitute "NetID" with your NetID in the User name section and use your Princeton password.  Then click "OK".

INSTALLATION AND ACTIVATION INSTRUCTIONS FOR MATLAB SOFTWARE

  1. Double-click the Princeton_README file in the MSWindows directory.  If you are prompted for an application to use for this file, select 'WordPad'.  Princeton_README is a simple text file containing all the keys needed to install and activate Matlab R2013b.  The file should be open throughout the installation and activation of Matlab.
  2. A File Installation Key will be displayed within the Princeton_README file.  There is a different File Installation Key for students than for faculty and staff.  The key is needed later in the installation process. Please make a note of the appropriate File Installation Key, or copy it into the clipboard.
  3. Double-click setup.exe to begin the installation.  NOTE:  Do NOT copy the files and folders in the MSWindows directory to your computer. The installation will fail, and copying the folders violates our license agreement with Mathworks.
  4. Windows will warn that the command is an unverified program. Click Run to allow the installer to continue.  You may also need to re-enter your network credentials (PRINCETON\netID and password).  The installer will begin copying files to your local machine.
  5. In the first Mathworks Installer window, choose Install without using the Internet. Click Next.
  6. Accept the license agreement in the next window.
  7. In the File Installation Key window, choose the I have the File Installation Key for my license option.  Copy the File Installation Key for your respective category (student or faculty/staff) from the Princeton_README file into the input area.  Click Next.
  8. In the Installation Type window, choose Typical and click Next.
  9. In the Folder Selection window, accept the default installation location or press Browse to enter a different location.  Agree to create a new folder, if asked.  Click Next.
  10. A Confirmation window will display what is being installed.  Click the Install button to continue.
  11. After the software is installed, it may display a Product Configuration Notes window, asking to designate a supported compiler for some products.  If  you plan to use these products, you will need to designate which compiler to use.  Otherwise, click Next to continue.
  12. An Installation Complete window display, and you will be asked to activate the software. Click Next.
  13. In the next window, select Activate manually without the Internet. Click Next.
  14. In the License File window, you are asked to Enter the full path to your license file, including the file name.  Type in \\files.princeton.edu\Licensed\Products\Matlab\R2013b\MSWindows\license.lic (all one line). Click Next.
  15. In the Activation Complete window, press Finish.
  16. PLEASE NOTE: Once all the above steps have been completed, you have installed Matlab and a network license. As long as you are connected to the Princeton network, you will be able to run all toolboxes for which we are licensed. You will NOT be able to run Matlab away from the campus network or on a stand-alone basis. To install a local license which will permit you to work offline, please continue. Note that you will need the appropriate File Activation Key from the Princeton_README file.
  17. Open Matlab itself.
  18. In the Help pull-down menu, select Licensing, and then Activate Software.  Allow User Account Control, if the window displays.
  19. Accept the default option Activate automatically using the Internet. Click Next.
  20. Log in to your Mathworks account by entering your Princeton University email address and your MathWorks password, and clicking on Next

    NOTE: 
    If you do not have one, you will be given the opportunity to create a MathWorks account at this point.  A MathWorks account is REQUIRED to use Matlab.  You must use your netID@Princeton.EDU email address as your MathWorks email address. Please do NOT use your LDAP or Windows University password as your MathWorks password.
  21. In the License Selection window, select "Enter an Activation Key for a license not listed:", paste or type in the appropriate Activation Key from the Princeton_README file opened at the start of the installation, and click on Next.
  22. In the Confirmation window, press the Confirm button.
  23. Click Finish to complete activation.

VERIFY INSTALLATION

These are optional steps to ensure the software, the network license and the local licenses are all properly installed.

Start Matlab if it is not already running.

  1. At the '>>' prompt, type in ver and press Enter. This will list the Matlab software installed on your machine (76 applications/toolboxes for MSWindows). NOTE: not all the packages listed are available under the Princeton license.  Available packages are listed at http://www.princeton.edu/software/licenses/software/matlab/.
  2. Test network license functionality by typing 'license('test','MATLAB_Coder')' at the '>>' prompt.
  3. If the network license is working properly and you are on the Princeton network, the response should be 'ans = 1'.
  4. Check the locations of the licenses by navigating to C:\Program Files\MATLAB\R2013b\licenses (or the equivalent directory if you installed Matlab to a different location).
  5. There should be two files in this folder: network.lic (the network license), and license_<<your_computer_name>>_296492_R2013b.lic (the local license).


 

LICENSE UPDATE INSTRUCTIONS

Updating the license file for R2009a through R2013a

  • Start Matlab as described above.
  • Click on Help->Licensing->Update Current License
  • Press the "Update Now" button.

The license will be automatically updated by Matlab communicating with the Mathwork site. Make sure you restart Matlab after this process is done.

If the above instructions do not work and for all R2013b installations:

  1. Start Matlab as an administrative user.
  2. In the Help pull-down menu, select Licensing, and then Activate Software.
  3. Select the default option Activate automatically using the Internet. Click Next.
  4. Log in to your Mathworks account by entering your Princeton University email address and your MathWorks password, and clicking on Next
    NOTE: If you do not have one, you will be given the opportunity to create a MathWorks account at this point.  A MathWorks account is REQUIRED to use Matlab.  You must use your netid@Princeton.EDU email address as your MathWorks email address. Please do NOT use your LDAP or Windows University password as your MathWorks password.
    NOTE: If you are a student and previously created an account with MathWorks for the student version of MatLab, you will need to login to the MathWorks website and change your profile from "student" to "academic".
  5. In the License Selection window, select Enter an Activation Key for a license not listed.  Type or paste in the appropriate Activation Key (56103-81364-73417-25343-49558 for faculty/staff and 99444-59124-46132-87596-94866 for students), and click on Next.
  6. A Confirmation window will display.  Press Confirm to continue.
  7. Click Finish to complete activation, and close Matlab.
     


HOW TO UNINSTALL MATLAB

  • Choose the Control Panel menu from the Start Menu
  • Choose the "Programs" (Windows 7),  "Programs and Features" (Vista) or Add or Remove Programs (XP) icon on the Control Panel 
  • Select the version of Matlab you wish to uninstall, and click on "Uninstall/Change" (Vista and Windows 7) or Change/Remove (XP)
  •  Uninstall Matlab and all toolboxes
  • Click 'Finish' when uninstallation is complete.