You need a File Installation Key to use an installer properties file. For information about installation using a File Installation Key, see Install Products Without Internet Access (Installation, Licensing, and Activation).
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 (Installation, Licensing, and Activation).
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, C:\Users\
).user
\AppData\Local\Temp\mathworks_downloads
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.
destinationFolder=C:\Program Files\MATLAB\R2018b
The installer properties file template contains descriptions of each parameter along with valid values. Specify your File Installation Key as the value of the fileInstallationKey=
parameter.
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 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.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.