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
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Language Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!