I have written a C MEX S-function and I want to generate integer only code for a model with this S-function.
When generating code, I get the following error :
The parameter 'P1' of block 'reprod/engine_speed' is a floating point type. Consider changing the data type or selecting the 'support floating point numbers' option on the Configuration Parameters > Real-Time Workshop > Interface page.
Best Answer