How can I stop a build process based on some flags in my custom TLC code in Rea-Time Workshop ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I would like to be able to conditionally stop a RTW build process using flags in a custom TLC.
Réponse acceptée
MathWorks Support Team
le 30 Déc 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Target Language Compiler dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!