Matlab Runtime eval command permission denied

Hi,
I'm currently trying to get a compiled simulink model running inside a docker container. For this, I'm using the matlab runtime r2022b image from the docker hub. To futher investigate some errors, I started a virtual machine with ubuntu 20 and installed matlab runtime. When I try to run my application with the compiled bash script, I get: "Permission denied"
I installed matlab runtime on the user desktop and also in the standard folder, but it did not work.

4 comentarios

Perhaps you need to
chmod +x ./standalone_TopModel_sim
The script itself is executing as the enviroment variables for the paths are set before
Walter Roberson
Walter Roberson el 31 de Jul. de 2024
The script itself is run_standalone_TopModel_sim.sh
run_standalone_TopModel_sim.sh is attempting to run standalone_TopModel_sim but is failing with permission denied.
So, chmod +x ./standalone_TopModel_sim to grant permission on standalone_TopModel_sim and then execute run_standalone_TopModel_sim.sh
Oh thanks, I forgot that

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Preguntada:

el 30 de Jul. de 2024

Comentada:

el 31 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by