MATLAB Answers

0

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

Asked by Phani Teja on 5 Jul 2019
Latest activity Edited by Jonas
on 5 Jul 2019
Local variable names are not generated properly and some times they are missing in the generated code though i resolved with 'Auto' storage class.

  0 Comments

Sign in to comment.

1 Answer

Answer by Jonas
on 5 Jul 2019
Edited by Jonas
on 5 Jul 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.

  0 Comments

Sign in to comment.