Filter löschen
Filter löschen

check if simulation failed

1 Ansicht (letzte 30 Tage)
Alex
Alex am 22 Sep. 2016
Beantwortet: Walter Roberson am 23 Sep. 2016
Hi all, i want to know, if it is possible to check of the simulation is failed and in that case the programm should not increment a variable in my Callback
example
if (Simulation_Failed == true)
do nothing
end
  1 Kommentar
Geoff Hayes
Geoff Hayes am 23 Sep. 2016
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Sep. 2016
If this is referring to Simulink and using the sim() command, see the CaptureErrors . Or perhaps it is the ReturnErrorsInInput you need; I am seeing information that is confusing about that.
Example the simulation information for ExecutionInfo

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by