For information about removing (uninstalling) a MATLAB installation noninteractively, see Uninstall Noninteractively.
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 with a File Installation Key.
To run the installer noninteractively, perform these steps:
Ensure that the product files, including the MATLAB installer, are available in an accessible location, for example, in the default Downloads folder on your computer or 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 Installation.
Create an installer properties file.
Make a copy of the installer properties file template, named
This file is located in the top level of the folder where you downloaded
the software (typically,
For example, on a Windows system, 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
to specify the full path of your installer properties file as a command-line
For example, on Windows systems, 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 Mac OS X systems, see the instructions in the installer properties file template.