i got a Problem with the Simulink Coder. In my Model is C-Code implemented as S-Function (using Legacy code tool). Simulation works fine but if i want to built the model (for use as dSpace target) i got an Error. In my oppinion the following lines out of the Diagnostic-Viewer are responsible for the Error.
C:\Programme\MinGW_TDM-GCC-64\bin/gcc -Wl,-rpath,"C:/PROGRA~1/MATLAB/R2015b/bin/win64",-L"C:/PROGRA~1/MATLAB/R2015b/bin/win64" -o ../model_v1.exe @model_v1.lnk rt_main.obj -lws2_32
gcc: error: RTGETINF.obj: No such file or directory
gcc: error: RTGETNAN.obj: No such file or directory
gmake: *** [../model_v1.exe] Error 1
Does anybody has/had the same Problem and maybe the solution for this Problem?