check if simulation failed
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Geoff Hayes
2016년 9월 23일
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?
채택된 답변
Walter Roberson
2016년 9월 23일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!