Matlab Runtime Install Noninteractively Error: invalid option -- 'a'

5 visualizaciones (últimos 30 días)
Bedirhan Keskib
Bedirhan Keskib el 1 de Feb. de 2022
Respondida: Varun el 29 de Dic. de 2023
Hello,
I am new at Matlab and wants to install Matlab Runtime to remote server which has no GUI support. I would like run MATLAB script which calls Simulink model and the Simulink model communciates with a python script via TCP. I wondered whether it is feasible.
However, I am getting " invalid option -- 'a'" error. What is the problem.
Thanks!!

Respuestas (1)

Varun
Varun el 29 de Dic. de 2023
Hi Bedirhan,
Looks like you are trying to run the MATLAB runtime installer in silent mode. However, you are facing the following error:
invalid option -- 'a'
Please try below workarounds:
1) In your command, use "./install" instead of just "install" because using "install" without the preceding "./" in a Linux environment will typically invoke a completely different command than the MATLAB Runtime installer script named "install". The "install" command in Linux is a standard utility that is used to copy files and set attributes during the installation of software
sudo ./install -agreeToLicense yes
2) Ensure that you are in the correct directory where the MATLAB Runtime installer has been extracted. Use the pwd command to print the current working directory and ls to list the files.
pwd
ls -l
3) Make sure that the installer file named install is indeed present in the current directory and that it is executable. If it's not executable, you can make it so with the following command:
chmod +x install
Hope it helps.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by