Skip over navigation

R2013a

Network Installation for Intel Mac OS X Computers

An Intel Mac with Mac OS X 10.7 (or greater) is required to install and run Matlab R2013a. Not available for Power PC Macs.

32-bit support on MacOS is only available on R2010a or earlier versions. To install Matlab R2010a, please see the instructions at http://www.princeton.edu/software/licenses/software/matlab/R2010a_network_installation_for_mac_os.xml.

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

  1. Highlight and copy the following line into the clipboard:
    smb://files.princeton.edu/licensed/Products/Matlab/R2013a/Unix_MacOSX
    (Select Copy under the Edit menu to copy the selected text into the clipboard.)
  2. Return to the Finder by selecting the Finder icon in the Dock or by clicking anywhere on the desktop.
  3. Select Connect to Server from the Go menu.
  4. Paste the clipboard in the "Server Address" field and press return. (To paste, select Paste from the Edit menu.)
  5. Click Connect.
  6. Log on with:
    • Connect as: Registered User
    • Name: <Your Princeton NetID>
    • Password: <Your Princeton password>
    (The Princeton NetID and Password are what you'd use to log into the Princeton Windows domain. If you aren't sure what your Windows Domain password is, you can reset it through the OIT Help Desk.)
     
  7. You will be presented with a network folder called Unix_MacOSX.
  8. Open Princeton_README using TextExit:
    1. Highlight Princeton_README by clicking it once.
    2. From the File menu, select Open With, and then select TextEdit. If TextEdit isn't one of the options available under Open With, select Other... and then select TextEdit in the Applications folder.
  9. Copy the first File Installation Key (for 296492) into the clipboard: drag the mouse across the File Installation Key, and then select Copy.
  10. Return to the Unix_MacOSX window on the desktop.
  11. Double-click InstallForMacOSX.  NOTE:  Do NOT copy folders from Unix_MacOSX to your computer.  The installation will fail, and copying the folders violates our license agreement with Mathworks.
  12. The Matlab installer needs OSX Administrator privileges. It will prompt for your Administrator password. This will most likely be the password you used to log in to your computer:
    • Name: <Admin account name>
    • Password: <Admin account OSX password>
  13. In the Mathworks Installer window, select the default Install using the internet and then click Next.
  14. Select the Yes radio button and then the Next button on Software License Agreement window.
  15. In the File Installation Key window, select the Provide File Installation Key  option. Click anywhere in the text field of the File Installation Key window to select it, and then use the Command-V key combination to paste the File Installation Key (296492) from the clipboard into the text field.  Click Next.
  16. In the Installation Type window, choose Typical and click Next.
  17. In the Folder Selection window, click Next to accept the default location /Applications or Browse to a different location.
  18. In the License File window, you are asked to Enter the full path to your license file, including the file name.  Browse to the Unix_MacOSX directory and select license.lic.   Press Open to add it as the file name (rather than browsing, you can also type in the path /Volumes/Licensed/Products/Matlab/R2013a/Unix_MacOSX/license.lic).  Click Next.
  19. The Confirmation window will list the products to be installed.  Press Install.
  20. Read the information on compilers.  Click Next to continue.
  21. In the Installation Complete window, press Finish.
  22. PLEASE NOTE: In order to install all the software licensed, steps 9 through 21 must be repeated, using the second File Installation Key (for 180014) in the Princeton_README file.  It is simplest to install the software licensed by File Installation Key 180014 right after completing the steps above; however, it can be installed at a later time.
  23. When installing using the second File Installation Key (180014), you will be asked if you want to overwrite Simscape (it was already installed during the first set-up).  You can press No or No to All to skip installing Simscape a second time.  When the second installation is complete, it will display the software installed on your machine.
  24. PLEASE NOTE: At this point, you have installed Princeton's licensed Matlab products 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.
  25. Start Matlab by clicking on Matlab_R2013a in the Applications folder or the location you selected during the installation.
  26. In the Help pull-down menu, select Licensing, and then Activate Software.
  27. Select the default option Activate automatically using the Internet.  Click Next.
  28. Log in to your MathWorks account.  Click 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". 
     
  29. 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.
  30. In the Confirmation window, press the Activate button.
  31. Disconnect the server smb://files.princeton.edu/licensed/Products/Matlab/R2013a/Unix_MacOSX .

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 (31 applications/toolboxes for Unix and MacOSX). PLEASE NOTE: You may receive a warning message stating the MATLAB Toolbox Cache is out of date.   The warning can be cleared by updating the Toolbox Path Cache.  To do this, click MatLab from the menu bar and select “Preferences”.  Under “ General Preferences” click the “Update Toolbox Path Cache” button and click “OK”.  Restart MatLab and the warning does not appear. All the Toolboxes are then listed when typing “ver”.
  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 /Applications/MATLAB_R2013a.app/licenses (or the equivalent location 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_R2013a.lic (the local license)

LICENSE UPDATE INSTRUCTIONS

Updating the license file for R2008b through R2012b

  • Start Matlab from the location you have installed it to ( usually the Applications folder ).
  • Click on Help->Licensing->Update Current Licenses
  • Push the "Update Now" button.

The license will be automatically updated by Matlab communicating with the Mathworks site.

Updating the license file for R2007b

Please follow the directions at the bottom of this page: https://www.princeton.edu/software/licenses/software/matlab/network_installation_for_mac_os.xml .

To Switch Between Running Matlab Offline & Online

There is no longer any need to switch between an online and offline license, since Matlab R2008b and later versions automatically fall back to the offline license when they cannot connect to the license manager.