check if simulation failed
2 views (last 30 days)
Show older comments
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 Comment
Geoff Hayes
on 23 Sep 2016
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?
Accepted Answer
Walter Roberson
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!