How to get rid off the errors mentioned below while generating c code from simulink model?
2 ビュー (過去 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!