How can I stop a build process based on some flags in my custom TLC code in Rea-Time Workshop ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like to be able to conditionally stop a RTW build process using flags in a custom TLC.
Akzeptierte Antwort
MathWorks Support Team
am 30 Dez. 2009
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Language Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!