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!