フィルターのクリア

How can I stop a build process based on some flags in my custom TLC code in Rea-Time Workshop ?

2 ビュー (過去 30 日間)
I would like to be able to conditionally stop a RTW build process using flags in a custom TLC.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 12 月 30 日
You can use TLC code as shown in the example below to conditionally stop the build process with appropriate message:
%if ISEQUAL(SFcnParamSettings.FCN_INNAME,"#void")
%warning "My value is bad:=%<SFcnParamSettings.FCN_INNAME>"
%stop
%else
%%do nothing
%endif

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Language Compiler についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by