How to get rid off the errors mentioned below while generating c code from simulink model?
1 次查看(过去 30 天)
显示 更早的评论
I am getting the below mentioned errors while building the model in simulink. Please let me know how to get rid off these error. Thanks in advance.
Errors Log
TARGET COMPILER "C:\Program Files\dSPACE RCPHIL 2017-B\Compiler\PPCTools"
COMPILING "UARTdspacetest2.c"
(E) C0020; "UARTdspacetest2.c", line 77 pos 14; identifier "MAX_uint64_T" is undefined result = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 149 pos 22; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 151 pos 22; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 165 pos 26; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 177 pos 28; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 207 pos 26; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
(E) C0020; "UARTdspacetest2.c", line 287 pos 16; identifier "MAX_uint64_T" is undefined ldword = MAX_uint64_T; ^
7 Errors COMPILING FAILED (1) MAKE PROCESS ABORTED ----------------------------------------------------------------------
*** Errors occurred during make process.
*** Inspect MATLAB Command Window for details.
*** Aborting RTI build procedure for model UARTdspacetest2. ----------------------------------------------------------------------
*** Stopped RTI build procedure for model: UARTdspacetest2. ------------------------------------------------------------
1 个评论
Ganesh Regoti
2020-1-13
I am unable to reproduce the issue. Can you share the model or prototype of it throwing the same error?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!