MATLAB Runtime installer_input.txt

조회 수: 96 (최근 30일)
Paul Wright
Paul Wright 2021년 3월 22일
댓글: Wolf Blecher 2023년 3월 8일
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.

채택된 답변

Paul Wright
Paul Wright 2021년 3월 24일
편집: Paul Wright 2021년 3월 29일
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
Paul Wright
Paul Wright 2023년 2월 24일
Thanks, Jared. Also paging @Jerome Blum, who was looking for this answer.
Wolf Blecher
Wolf Blecher 2023년 3월 8일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by