Why do I not see local variable name in the generated code when using 'Auto' storage class in Embedded coder?

3 vues (au cours des 30 derniers jours)
Local variable names are not generated properly and some times they are missing in the generated code though i resolved with 'Auto' storage class.

Réponses (1)

Jonas
Jonas le 5 Juil 2019
Modifié(e) : Jonas le 5 Juil 2019
You should change the storage class to 'Model default' or any other that fits your needs. Embedded Coder sometimes does not use local variable names in case they are not used for optimization reasons.
Please see here for more info.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by