If you have many installations of MATLAB® software to perform, and the information you need to enter for each installation is the same, you can put this information into a properties file and run the MathWorks® installer noninteractively. You specify the properties file on the command line when you start the installer and the file provides the installer with the information that you would otherwise provide interactively, using the installer dialog boxes. Noninteractive installation (also called silent installation) can save time and prevent errors.
You need a File Installation Key to use an installer properties file. For information about installation using a File Installation Key, see Install Products Using File Installation Key.
To run the installer noninteractively:
Ensure that the product files, including the MATLAB product installer, are available in an accessible location; for example, in the default downloads folder on your computer or on a network share. If the product files are located in a folder other than the default downloads folder on your computer, the installer file must be located in the same folder as the product files. For information about downloading product files, see Download Products Without Installing.
Create an installer properties file.
Make a copy of the installer properties file template, named
installer_input.txt. This file is located in the top level of the folder where you downloaded the software (typically,
For example, on a Windows® computer, you might execute this command:
copy Z:\installer_input.txt C:\temp\my_installer_input.txt
Open your installer properties file using any text editor, and enter values for all the specified parameters. For example, to specify where you want to install products, set the value of the
destinationFolder= parameter to the full path of the installation folder.
The installer properties file template contains descriptions of each parameter along with valid values. Specify your File Installation Key as the value of the
Save your changes to the file.
Start the installer using the
-inputFile option to specify the full path of your installer properties file as a command-line argument.
For example, on Windows computers, click the Start menu and select the Run option. In the Run dialog box, enter:
setup.exe -inputFile C:\temp\my_installer_input.txt
For information about specifying an installer properties file on Linux and macOS computers, see the instructions in the installer properties file template.