How to get rid off the errors mentioned below while generating c code from simulink model?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Ganesh Regoti
am 13 Jan. 2020
I am unable to reproduce the issue. Can you share the model or prototype of it throwing the same error?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Embedded Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!