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

조회 수: 2 (최근 30일)
Local variable names are not generated properly and some times they are missing in the generated code though i resolved with 'Auto' storage class.

답변 (1개)

Jonas
Jonas 2019년 7월 5일
편집: Jonas 2019년 7월 5일
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.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by