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 Comments

Perhaps you need to
chmod +x ./standalone_TopModel_sim
The script itself is executing as the enviroment variables for the paths are set before
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

Sign in to comment.

Answers (0)

Categories

Products

Release

R2022b

Community Treasure Hunt

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

Start Hunting!