Why C codes generated by Matlab Coder contain strange dataor variables like 0U?
Show older comments
greetings community
I am working on the C codes generated by Simulink, and when I generate the codes unknown variables appear. For example in the ".c" code, it appears in the 0U code, and in the libraries and other codes, I only find the following statement where that value appears.
On the other hand, in the file ".c" 0U appears as a value to compare (all the comparisons [<,> =, etc] that I make between the variables is with respect to zero). Is it normal for these situations to arise?
Below I show part of the function of matlab.

Next, we have part of the generated code

I appreciate any information, see if I can trust the generated code and take the code to TI C2000 MCU
Accepted Answer
More Answers (0)
Categories
Find more on Texas Instruments C2000 Processors 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!