RTW is introducing CR/LF into generated code constant definition macros.

1 vue (au cours des 30 derniers jours)
Ryan Vande Water
Ryan Vande Water le 24 Déc 2014
Here's a stumper: RTW has started adding CR/LF between the datatype cast and the parameter value in ONE FILE in my generated C code. Additionally, this only happens for OME MODEL. My other models can generate code correctly. So instead of getting this:
#define CONSTANT ((cast) 0)
I get this:
#define CONSTANT ((cast)
0)
This, of course, angers the compiler to no end! Any ideas on where to start looking? I'm totally stumped. I'm currently using Matlab/Simulink R2010a.

Réponses (0)

Catégories

En savoir plus sur Simulink Coder 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