Effacer les filtres
Effacer les filtres

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

115 vues (au cours des 30 derniers jours)
Anuj Patil
Anuj Patil le 28 Juin 2018
Commenté : Ghizlane le 18 Juil 2024 à 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 commentaires
Charles Collins
Charles Collins le 6 Juin 2020
The million dollar question, and all quiet here.
Michal Semonský
Michal Semonský le 4 Juil 2020
would this command help?
set_param(gcs, 'SimulationCommand', 'stop')

Connectez-vous pour commenter.

Réponses (2)

Lev Vitkin
Lev Vitkin le 26 Jan 2022
try
eval([bdroot '([],[],[],''term'')'])

Guy Rouleau
Guy Rouleau le 8 Oct 2020
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 commentaires
Guy Rouleau
Guy Rouleau le 8 Juil 2024 à 18:30
Since a few releases, a "Cancel" button shows up at the bottom of the model to interrupt model compilation:
Ghizlane
Ghizlane le 18 Juil 2024 à 11:07
i can't see the cancel boutton should i do an update ? and how ? thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Run on Target Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by