How to get rid off the errors mentioned below while generating c code from simulink model?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Ganesh Regoti
el 13 de En. de 2020
I am unable to reproduce the issue. Can you share the model or prototype of it throwing the same error?
Respuestas (0)
Ver también
Categorías
Más información sobre Embedded Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!