フィルターのクリア

Is there a way to stop compiling process when the model has started to compile in Simulink?

115 ビュー (過去 30 日間)
Anuj Patil
Anuj Patil 2018 年 6 月 28 日
コメント済み: Ghizlane 2024 年 7 月 18 日 11:07
I am running Simulink with Raspberry Pi and when I had hit RUN button, I realized that the model had some errors, but couldn't find any option to TERMINATE THE COMPILATION PROCESS
Either I'd have to wait 20 minutes for the compilation process to complete or restart MATLAB.
I had to chose the 2nd one.
  3 件のコメント
Charles Collins
Charles Collins 2020 年 6 月 6 日
The million dollar question, and all quiet here.
Michal Semonský
Michal Semonský 2020 年 7 月 4 日
would this command help?
set_param(gcs, 'SimulationCommand', 'stop')

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

回答 (2 件)

Lev Vitkin
Lev Vitkin 2022 年 1 月 26 日
try
eval([bdroot '([],[],[],''term'')'])

Guy Rouleau
Guy Rouleau 2020 年 10 月 8 日
In MATLAB R2020b and before, there is no way to interrupt the model compilation.
We are aware that this is a common pain point and are working on a solution to address it. It should soon be possible ot interrupt the model compilation.
Thanks,
Guy
  6 件のコメント
Guy Rouleau
Guy Rouleau 2024 年 7 月 8 日 18:30
Since a few releases, a "Cancel" button shows up at the bottom of the model to interrupt model compilation:
Ghizlane
Ghizlane 2024 年 7 月 18 日 11:07
i can't see the cancel boutton should i do an update ? and how ? thank you

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

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by