This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Install Noninteractively (Silent Installation)

When to Install 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.

Using an Installer Properties File

To run the installer noninteractively, perform these steps:

  1. 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.

  2. 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
  3. 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\R2016b

    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.

  4. Save your changes to the file.

  5. 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.

Was this topic helpful?