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.
- 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".
- 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".
- 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
- 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.
- 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.
- 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.
- 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.
- In the first MathWorks Installer window, choose Install without using the Internet. Click Next.
- Accept the license agreement in the next window.
- 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.
- In the Installation Type window, choose Typical and click Next.
- 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.
- A Confirmation window will display what is being installed. Click the Install button to continue.
- 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.
- An Installation Complete window display, and you will be asked to activate the software. Click Next.
- In the next window, select Activate manually without the Internet. Click Next.
- 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.
- In the Activation Complete window, press Finish.
- 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.
- Open MATLAB itself.
- In the Help pull-down menu, select Licensing, and then Activate Software. Allow User Account Control, if the window displays.
- Accept the default option Activate automatically using the Internet. Click Next.
- 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.
- 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.
- In the Confirmation window, press the Confirm button.
- Click Finish to complete activation.
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.
- 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/.
- Test network license functionality by typing 'license('test','MATLAB_Coder')' at the '>>' prompt.
- If the network license is working properly and you are on the Princeton network, the response should be 'ans = 1'.
- 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).
- 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:
- Start MATLAB as an administrative user.
- In the Help pull-down menu, select Licensing, and then Activate Software.
- Select the default option Activate automatically using the Internet. Click Next.
- 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 MathWorks' website and change your profile from "student" to "academic".
- 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.
- A Confirmation window will display. Press Confirm to continue.
- 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.