필터 지우기
필터 지우기

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 CenterFile Exchange에서 Target Language Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by