Part Number: TMS320F28379D
Tool/software: Code Composer Studio
hi to all,
im trying to include a simulink C code into CCSv10, when I tried to compile the Program this errors are shown:
Description Resource Path Location Type #35 #error directive: Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE .ccsproject /Matlab_simulink_project line 316, external location: /home/gaston/.local/MATLAB/R2020a/simulink/include/simstruc_compcond.h C/C++ Problem
I include de compiler flags:
-D"RT" -D"USE_RTMODEL"
But the error still persist.
From Matlab help this is their response:
If the issue persists after this, please add RT and USE_RTMODEL as compiler flags in external IDE.
Maybe Im settings the compiler flags wrong.
Gastón



