simulink code generation error !!!
Show older comments
Hi everybody !
I have some problems with code generation. my generated code looks like okay. But if I make some implementation with this code to another main C-Script, the variables don't suit together :/ I see this error:
incompatible types when assigning to type ‘real_T’
can anybody tell me please where is the problem ? what should I chance to have the right variable type
thanks in advance
Best Regards Onur
2 Comments
Anthony Poulin
on 7 Jul 2014
I think the type real_T is defined in the header file "tmwtypes.h", do you have include it?
Onur Isbecer
on 7 Jul 2014
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!