How to get rid off the errors mentioned below while generating c code from simulink model?

2 views (last 30 days)
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. ------------------------------------------------------------

Answers (0)

Categories

Find more on Embedded Coder in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!