Matlab Runtime eval command permission denied
64 views (last 30 days)
Show older comments
Elias Julian Hempen
on 30 Jul 2024 at 13:12
Commented: Elias Julian Hempen
on 31 Jul 2024 at 11:45
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1743216/image.png)
4 Comments
Walter Roberson
on 31 Jul 2024 at 7:45
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
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!