I am trying to generate an s-function from a Simulink model using RTW Embedded Coder. I got the below error-
Writing library for Subsystem_sf.mexw32
subsystem.obj .text: undefined reference to '_fmaxf'
subsystem.obj .text: undefined reference to '_fminf'
subsystem.obj .text: undefined reference to '_fabsf'
subsystem.obj .text: undefined reference to '_sqrtf'
subsystem.obj .text: undefined reference to '_floorf'_
subsystem.obj .text: undefined reference to '_fmodf'| | _
Any suggestions?
P.S: I am using the LCC MATLAB compiler and also tried compiling with VS 2008 &2010.