Skip over navigation

R2012a

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.

If you are viewing this page with Internet Explorer and your computer is part of the Princeton Domain, you can log on with your NetID and then click the link below to connect directly to the installation server.  If not proceed to Step 1.

\\files.princeton.edu\licensed\Products\Matlab\R2012a\MSWindows\ 

  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\R2012a\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 R2012a.  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.  The key is needed later in the installation process. It is eleven sets of five numbers, separated by hyphens. Please make a note of this 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).
  5. In the first Mathworks Installer window, choose the default Install using the Internet.
  6. Accept the license agreement in the next window.
  7. In the Provide Installation Information window, choose the Provide File Installation Key option.  Copy the File Installation Key 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.  Click Next.
  10. A Confirmation window will display what is being installed.  Click the Install button to continue.
  11. In the Installation Complete window, accept the default checkbox Activate MATLAB.  Click Next.
  12. In the Mathworks Software Activation window, accept the default Activate automatically using the Internet , and click Next.
  13. In the Log in or Provide License File window, select Enter the full path to your license file, including the file name.  Type in \\files.princeton.edu\licensed\Products\Matlab\R2012a\MSWindows\license.lic (all one line). Click Next.
  14. If it displays, read the information on compilers.  Click Next to continue.
  15. Click Finish to close the installation. NOTE: At this point, 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.
  16. Start Matlab.
  17. In the Help pull-down menu, select Licensing, and then Activate Software.  Allow User Account Control, if the window displays.
  18. Accept the default option Activate automatically using the Internet. Click Next.
  19. 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.
  20. 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.
  21. In the Confirmation window, press the Activate button.
  22. 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 (32 applications/toolboxes for MSWindows).
  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\R2012a\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_R2012a.lic (the local license).


 

LICENSE UPDATE INSTRUCTIONS

Updating the license file for R2009a through R2011b

  • 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.


 


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.