Clear Filters
Clear Filters

MATLAB Runtime installer_input.txt

97 views (last 30 days)
I am trying to install MATLAB Runtime with just the core MATLAB product to reduce the size of the installation. I want to use the installer_input.txt file to do this. The help page says:
"The MATLAB Runtime installer archive includes an example installer control file called installer_input.txt. This file contains all of the options available for a full MATLAB installation. The options listed in this section are valid for the MATLAB Runtime installer."
I cannot find the example file in the 'archives' directory of the unzipped Runtime files (or anywhere). I have used the file that comes with the regular Matlab installation zip, but I do not know which options are applicable, or if there are options unique to the Runtime installer.
Please help me find the example installer_input.txt file for the Runtime installer, and preferably add details to the help page too.

Accepted Answer

Paul Wright
Paul Wright on 24 Mar 2021
Edited: Paul Wright on 29 Mar 2021
I have a workable, but probably incomplete, answer to my question from the output of compiler.package.docker. If I copy those lines to a text file, it seems to work. Note that unlike the installer input file for regulat MATLAB, the Runtime one appears not to require equals between argument and value.
The bit I was most interested in was the product.<name> true line, which lets you install just the Runtime products you need. This is addressed in my other question.
mode silent
destinationFolder /path/to/mcr
agreeToLicense yes
product.MATLAB_Runtime___Core true
product.MATLAB_Runtime___Numerics true
product.MATLAB_Runtime___Parallel_Computing_Toolbox_Cluster_Addin true
Thanks to @Raymond Norris for suggesting I look at compiler.package.docker.
Edit: this works with MATLAB R2021a / Runtime v9.10, but not in R2019b. Selective installation of Runtime seems to be a recent addition.
  11 Comments
Paul Wright
Paul Wright on 24 Feb 2023
Thanks, Jared. Also paging @Jerome Blum, who was looking for this answer.
Wolf Blecher
Wolf Blecher on 8 Mar 2023
With R2022b the format of the file changed:
mode=silent
destinationFolder=/path/to/mcr
agreeToLicense=yes
product.MATLAB Runtime - Core
product.MATLAB Runtime - Graphics
product.MATLAB Runtime - Numerics
product.MATLAB Runtime - Statistics and Machine Learning Toolbox Addin
product.MATLAB Runtime - Non Interactive MATLAB

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!