check if simulation failed
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
am 23 Sep. 2016
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?
Akzeptierte Antwort
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.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!