if my storage class of signal is " Reusable(custom)",any setting to force the signal declared as local in my function.
Afficher commentaires plus anciens
Hi All, When i have declared a signal as "Reusable(custom)",after code generation using embedded coder,the is declared as Global variable. We don't want it to be global any setting to force the signal be declared as local in my function.
Regards, Sai kumar Neelam
Réponses (2)
Fangjun Jiang
le 12 Juil 2018
0 votes
just set the storage class as "Auto".
1 commentaire
Sai Neelam
le 13 Juil 2018
Phani Teja
le 30 Avr 2019
Modifié(e) : Phani Teja
le 30 Avr 2019
0 votes
Try it to customize your stoarge class Reusable using CSC designer GUI.
There you can create own package (mpt or simulink) and custom storage classes as per the need.
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!