- Download an installer containing the MathWorks products you want to install on the target computer.
- Make a copy of the installer properties file ‘installer_input.txt’.
- Open the copied installer properties file using any text editor and uncomment only the parameters that start with a single # symbol and enter the appropriate values.
- In a command window or terminal, start the installer using the ‘-inputFile’ option to specify the full path of your installer properties file as a command-line argument.
- On Linux, run the install script with the ‘-inputFile option’. For example:
Silent install of R2021a to Linux machine fails, input filename corrupted with "=true"
3 次查看(过去 30 天)
显示 更早的评论
Since my network connection to the target machine is unreliable, I tried to do a silent installation with "sudo ./install -inputFile=/home<home directory>/installer_input.txt". It insisted on opening an X11 window and doing an interactive install.
I found the log file at /tmp/mathworks_root.log, and it appears to be using the wrong input filename:
(Feb 28, 2022 17:34:02) Current Directory: /media
(Feb 28, 2022 17:34:02) Input file not found /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) Installer build number: 9.10.0.1602886
(Feb 28, 2022 17:34:02) Input arguments:
(Feb 28, 2022 17:34:02) inputfile: /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) mode: silent
(Feb 28, 2022 17:34:02) root: /media
(Feb 28, 2022 17:34:02) flow: fikworkflow
(Feb 28, 2022 17:34:02) Error reading file /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) File '/home/<home directory>/installer_input.txt=true' does not exist
0 个评论
回答(1 个)
Himanshu
2024-1-8
Hey Harold,
I understand that you are encountering an error while trying to silently install R2021a on a Linux machine.
To silently install MATLAB on a Linux machine you need to follow the following steps:
install -inputFile /tmp/my_installer_input.txt
Please find detailed documentation regarding silent installation of MATLAB here:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!