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 件のコメント

Walter Roberson
Walter Roberson 2024 年 7 月 30 日
Perhaps you need to
chmod +x ./standalone_TopModel_sim
Elias Julian Hempen
Elias Julian Hempen 2024 年 7 月 31 日
The script itself is executing as the enviroment variables for the paths are set before
Walter Roberson
Walter Roberson 2024 年 7 月 31 日
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
Elias Julian Hempen
Elias Julian Hempen 2024 年 7 月 31 日
Oh thanks, I forgot that

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2022b

質問済み:

2024 年 7 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by