필터 지우기
필터 지우기

check if simulation failed

조회 수: 1 (최근 30일)
Alex
Alex 2016년 9월 22일
답변: Walter Roberson 2016년 9월 23일
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
Geoff Hayes 2016년 9월 23일
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
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.
Example the simulation information for ExecutionInfo

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by