Clear Filters
Clear Filters

How do I install MathWorks Products in preparation for a MathWorks Private training event?

91 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 22 Dec 2023
Edited: MathWorks Support Team on 22 Dec 2023
There are two stages for installing MATLAB or Polyspace to prepare for MathWorks training.
Stage 1 - Download files
To start the process, two components must be downloaded from the MathWorks website:
  1. MATLAB installation files
  2. MATLAB license file
  3. Offline Documentation installation files (if installing R2023a or newer)
First note: You need to download these components once only; they will be reused for every machine that you install MATLAB onto.
Second note: You will need a MathWorks Account to complete these steps. If you did not have one when you requested your license, one was created for you. Please check your email and complete the account set-up process.
Step 1 - Get the MATLAB Installation Files
  1. Click the Download Now button in the MathWorks Course Support License email. It will take you to the Downloads page for your license on MathWorks.com. If you are not currently signed in, you will have to sign in to MathWorks.com to reach this page.
  2. On the Downloads page, next to I WANT TO: is a drop-down menu. Select Get ISOs and DMGs
  3. Next, under Select Release, make sure that the Release of MATLAB you are using for training is selected. The Release is listed in the subject line of your email
  4. Then click the blue Download for Windows button to start the download.  For Windows, this will start to download a file called R20XXn_Windows.iso, where R20XXn is your release. If you are installing on a different Operating System, click on the down arrow next to the Download for Windows button to change the OS of the download.
Note: This file is large (12-20GB) and will take some time to download.
Step 2 - Get your License File
  1. Navigate to your trial licenses, here. A list of one or more licenses will be displayed.
  2. Click the License identified with the Use Course Support. Its license number appears in the Subject line of the MathWorks Course Support License email.
  3. Click on the Install and Activate tab
  4. Under Related Tasks, click View Current Activations.
  5. In the Get License File column, click the blue download arrow icon.
  6. On the next page, click the Download License File button. The downloaded file will be called "license.lic".
 
Step 3 - Copy and save your File Installation Key
  1. On the same page, highlight and copy the File Installation Key. It is also listed in your MathWorks Course Support License email.
  2. Open Notepad.
  3. Paste the File Installation Key into Notepad
  4. Save your Notepad session as a file named "fik.txt"
 
For users intending to use R2023a or newer: Step 4 - Obtain Offline Documentation
To obtain the Offline Documentation ISO file, you'll need to download the ISO that matches the release of MATLAB you intend to use. If you are using the latest release of MATLAB, select the link below that reads so. If you are using a previous release follow the directions below. The download button is available under "Operating Systems" after you've selected Windows as the Operating System.
Previous release steps:
  1. Visit this link
  2. Select the desired release
  3. On the right side of the screen, select "Installation Help"
  4. In the center of the screen, select the link "Install Products"
  5. Under the section with the header "Documentation", select "Install Documentation on Offline Machines"
A reminder that offline documentation installation is unnecessary for releases R2022b and older since it is not packaged separately.
Note: Offline documentation for Polyspace products and RoadRunner is not included in this process. Polyspace products include offline documentation during normal product installation and RoadRunner does not have offline documentation available.
Step 5 - Save these components on removable storage (for example, a USB stick) or a network file share
You should now have these three components:
  • The ISO, which will contain your installation files
  • The license file, "license.lic"
  • The File Installation Key in a file called "fik.txt"
  • The Offline Documentation ISO, if applicable
Please ensure that you have all three components before proceeding; you will not be able to install the products without them.
 
Stage 2 - Installation
These steps will be repeated on each machine where your MathWorks product is to be installed.
Step 1 - Copy the three components to the target machine
Create a new temporary folder on the root of the main hard drive of the target machine (for Windows, this is usually C:) and copy the MATLAB installation files (R20XXn_Windows.iso), your MATLAB license file(license.lic) and the File Installation Key text file (fik.txt) into that folder
Step 2 - Open the ISO file
Open your newly created temporary folder and double click on the ISO file (R20XXn_Windows.iso) to open it.This action will mount the ISO as a drive on the machine, meaning File Explorer will treat it as if a DVD has been inserted into the computer. You will see something similar to DVD Drive (D:) MATHWORKS_R2022B added to This PC.
 
Step 3 - Start the Installer
  1. In the File Explorer, double-click setup.exe to run it.
  2. When prompted to allow the app to make changes, answer Yes.
Note: If you are not an administrator on the computer, you will need an administrator to enter their credentials to install MATLAB.
 
Step 4 - Use your File Installation Key
  1. When the installer window opens, you do not need to sign in with your MathWorks account. Instead, click "Advanced Options" in the top right corner of the installer window.
  2. Select "I have a File Installation Key".
 
Step 5 - Accept the Software License Agreement
Step 6 - Enter your File Installation Key
  1. Open the fik.txt file
  2. Copy the File Installation Key into the installer
  3. Select Next
 
Step 7 - Select the License File
  1. Browse to your newly created temporary folder.
  2. Select the license.lic file.
 
Step 8 - Select destination folder
The destination folder is the location where the MathWorks products software will be installed. Accept the default destination folder or click Browse to select a different one. We recommend accepting the default folder. If the folder does not exist, the installer creates it.
Step 9 - Select Products
The Product Selection list shows all the products associated with your license. Select all Products.
Step 10 - Select Options
Choose to put shortcuts for starting MATLAB in the Start menu and on the desktop. Choosing incorrectly will make it more difficult to launch MATLAB and if you are installing R2023a or newer, then you need to select this option. Otherwise, you'll have to manually make a desktop shortcut later.
Step 11 - Confirm Selections and Install
Review the summary of your installation choices. To change a setting, click the topic on the navigation bar. To proceed with the installation, click Begin Install.
When the installation is complete, note if the installer shows you any additional steps required to complete configuration, and click Finish. If additional steps are required, complete them before running MATLAB.
Step 12 - Launch MATLAB
Launch MATLAB from either your Start Menu, Desktop, or inside the folder where MATLAB is installed. Verify that MATLAB will start and displays a MATLAB window with a flashing prompt and a Ready flag in the bottom left corner of the window.
If you are installing R2022b and older, proceed to "Step 17". If you are installing R2023a and newer, proceed to "Step 14".
Step 14 - Install Offline Documentation (Required for R2023a or newer)
  1. Close any instances of MATLAB that are open.
  2. Open the folder where the Offline Documentation ISO is saved.
  3. Mount the ISO with the same instructions from Step 2.
  4. After the ISO is mounted, navigate into the "bin" folder.
  5. Select the "win64" folder with a single-click using the left-click button on your mouse. Do NOT open the folder.
  6. On your keyboard, perform the following key combination by holding down each button at once: Ctrl+Shift+C
  7. Open Command Prompt by opening the Windows Start Menu, typing in "Command Prompt", and then selecting the first option.
  8. Type "cd" without quotation marks, press the Space bar on your keyboard, and then right-click next to the text you just entered. It should populate with something such as "D:\bin\win64". If it doesn't then, perform the sixth step again.
  9. Enter the following command without quotation marks: ".\mpm install-doc --matlab="C:\Program Files\MATLAB\R2023a" --destination=C:\MATLAB\Documentation\R2023a". If you are using a release newer than R2023a, please correct the release number in the command to the release of MATLAB you are intending to use.
  10. Wait for the Command Prompt to say installation is completed. Once it has, you may close out of Command Prompt. There is no visible progress bar, so this process may take up to 15 minutes to complete.
 
Step 15 - Configure MATLAB to use Offline Documentation
  1. Locate the MATLAB shortcut on your Windows desktop. Right-click it and select "Properties".
  2. In the "Target" field, replace all of the text with the following: "C:\Program Files\MATLAB\R2023a\bin\matlab.exe" -r docroot('C:\MATLAB\Documentation\R2023a\help'),s=settings, s.matlab.help.DocLocation.PersonalValue='INSTALLED',clear,clc
    1. If you are using a release newer than R2023a, replace both instances of R2023a with the release number of MATLAB you are intending to use.
 
Step 16 - Confirm Offline Documentation is installed
  1. Launch MATLAB from the desktop shortcut you modified in Step 15.
  2. Open Documentation by clicking the question mark above "Help".
  3. Hover your mouse over any of the documentation pages, such as MATLAB. If the address bar in the bottom-left corner of the documentation window reads with a local file path instead of website URL, then you have successfully setup Offline Documentation
Note: Offline documentation for Polyspace products and RoadRunner is not included in this process. Polyspace products include offline documentation during normal product installation and RoadRunner does not have offline documentation available.
Step 17 - Delete the temporary installation folder 
Once you have verified that MATLAB runs correctly, delete the temporary folder that you created in Step 1.
If you are having difficulty with any of these steps, please call MathWorks Technical Support at the number listed from the Contact Page linked below this paragraph. A specialist team is available to assist with Installation and Licensing on Menu Option 3 then Option 1. Have your license number at hand for fastest service.

More Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!