C:\Users\ChenWang\Documents\Arduino\libraries\Copy_of_Viergelenkkette_grt_rtw/simstruc.h:357:3: error: #error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
^
C:\Users\ChenWang\Documents\Arduino\libraries\Copy_of_Viergelenkkette_grt_rtw/simstruc.h:480:3: error: #error Unhandled case
Original posting: Today at 10:30 am
upup posting: Today at 01:02 pm
What a pushy person!
I have a problem.
A problem with persons being pushy.
Then i want run the C code on arduino MC.
Perhaps you better run your code on a plattform which is intended to run the code.
Code generators create very inefficient code in most cases, which can not in the least compare with optimized code written by an experienced programmer. Most likely the Arduino platform is not only missing header files for data types your code generator uses, but also lacks the minimum RAM requirements.
ust define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
Since I don't know simulink, I can;t tell you which to define, and since "arduino" is not one of them, you might have to go in and figure out what each #define is doing and create an equivalent for the Arduino.