0% found this document useful (0 votes)
4 views

install_instructions

This document provides instructions for installing MATLAB and MathWorks products, requiring a license file. It details both interactive and noninteractive installation methods, including steps for downloading, validating, and running the installer on different operating systems. Users must follow specific commands and configurations based on their platform to successfully complete the installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

install_instructions

This document provides instructions for installing MATLAB and MathWorks products, requiring a license file. It details both interactive and noninteractive installation methods, including steps for downloading, validating, and running the installer on different operating systems. Users must follow specific commands and configurations based on their platform to successfully complete the installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Install MathWorks Products

Follow the instructions in this document to install MATLAB and MathWorks products. To use these
instructions, you must have a license file.

• System requirements: MATLAB and Simulink Requirements

You can install products interactively or noninteractively.

• Interactive Installation
• Noninteractive Installation

Interactive Installation
To install products using an interactive installer, follow the steps below. These instructions are based on
the Install Products on Offline Computer documentation page.

1. Download the ISO (Windows, Linux) or DMG (Mac) image for your release. These images are
available in the same location as these instructions.
2. Validate the downloaded image by comparing its checksum to the checksum available in the same
location as these instructions. To get the image’s checksum, run the command for your platform and
update the image path.
• Windows Command Prompt:
certutil -hashfile C:\Users\%username%\Downloads\MATLAB_R2024b.iso sha256
• Linux Terminal:
sha256sum ~/Downloads/MATLAB_R2024b.iso
• Mac Terminal:
shasum -a 256 ~/Downloads/MATLAB_R2024b.dmg.zip
If the checksums do not match, contact MathWorks Support.
3. Mount and run the image.
• Windows (run as administrator) — Double-click the ISO to mount it and then run setup.exe
within the mounted folder.
• Linux — Mount the ISO from the terminal and run the installer executable. Run these
commands and update the image path.
sudo mount -o loop /home/$USER/Downloads/MATLAB_R2024b.iso /mnt/MATLAB_R2024b
xhost +SI:localuser:root
sudo -H /mnt/MATLAB_R2024b/install
xhost -SI:localuser:root
• Mac — Unzip the downloaded DMG image and double-click it to mount the image. Then
double-click the InstallForMacOSAppleSilicon or InstallforMacOsIntelProcessor
executable.
Copyright 2025 The MathWorks, Inc.
4. In the MathWorks Product Installer window, under Advanced Options, select I have a File
Installation Key.
NOTE: Do not attempt to sign in. You must install products using a File Installation Key.
5. Accept the license agreement and click Next.
6. Copy the File Installation Key for your release into the text box. These File Installation Keys are
available in the same location as these instructions. Then, click Next.
7. Browse for your license file, and then click Next.
8. Confirm the destination folder, and then click Next.
9. Select the products to be installed, and then click Next.
10. Follow the remaining prompts and then click Begin Install. To start MATLAB after the installation is
complete, follow the instructions for your platform:
• Start MATLAB on Windows Platforms
• Start MATLAB on Linux Platforms
• Start MATLAB on macOS Platforms

Copyright 2025 The MathWorks, Inc.


Noninteractive Installation
To install products noninteractive using a silent installer, follow the steps below. These instructions are
based on the Install Products Programmatically documentation page.

1. Download the ISO (Windows, Linux) or DMG (Mac) image for your release. These images are
available in the same location as these instructions.
2. Validate the downloaded image by comparing its checksum to the checksum available in the same
location as these instructions. To get the image’s checksum, run the command for your platform and
update the image path.
• Windows Command Prompt:
certutil -hashfile C:\Users\%username%\Downloads\MATLAB_R2024b.iso sha256
• Linux Terminal:
sha256sum ~/Downloads/MATLAB_R2024b.iso
• Mac Terminal:
shasum -a 256 ~/Downloads/MATLAB_R2024b.iso
If the checksums do not match, contact MathWorks Support.
3. Mount the image.
• Windows (run as administrator) — Double-click the ISO.
• Linux — From the Terminal, run this command and update the image path.
sudo mount -o loop /home/$USER/Downloads/MATLAB_R2024b.iso /mnt/MATLAB_R2024b
• Mac — Unzip the downloaded DMG image and double-click it.
4. From the mounted image, make a copy of the installer properties file installer_input.txt.
5. Open the copied installer properties file using any text editor.
6. Uncomment only the parameters that start with a single # symbol and enter the appropriate values.
For example:
• destinationFolder
Specify the path to the folder where you want to install products. You must specify the full
path. Specifying a relative path might cause the installer_input file to be read incorrectly.
Here are sample destination folders for each platform.
o Windows:
destinationFolder=C:\Program Files\MATLAB\R2024b
o Linux:
destinationFolder=/usr/local/MATLAB/R2024b
Mac:
o destinationFolder=/Applications

Copyright 2025 The MathWorks, Inc.


• fileInstallationKey
Specify the value of the File Installation Key for your release. These File Installation Keys are
available in the same location as these instructions. For example:
fileInstallationKey=01234-01234-01234-01234
• agreetoLicense
You must specify this value as yes to accept the license agreement to install MathWorks
products.
agreeToLicense=yes
• Products
By default, the installer installs all products for which you are licensed, as determined by the
File Installation Key you specified. To install a specific product or a subset of products for
which you are licensed, uncomment the lines for the products you want to install. For
example:
product.MATLAB
# ...
product.Simulink
7. Save your changes to the file.
8. Navigate to the folder containing the installer and products.
9. In a command window or terminal, start the installer using the -inputFile option to specify the full
path of your installer properties file as a command-line argument.
• Windows — Run the setup.exe application with the -inputFile option. For example:
setup.exe -inputFile C:\temp\my_installer_input.txt
• Linux or Mac — Run the install script with the -inputFile option. For example:
install -inputFile /tmp/my_installer_input.txt

Copyright 2025 The MathWorks, Inc.

You might also like