フィルターのクリア

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 Center および File ExchangeIntroduction 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