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

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
Oh thanks, I forgot that

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2024년 7월 30일

댓글:

2024년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by