I use Matlab R2008a and I try to replace handmade C code with code generate from Simulink model. I've reach a good result but in some file I've an unnecessary function , generated to initialize the data structure : _initialize(). Now, how can avoid the generation of this function? More in general, is possible configure RTW so to generate only one *.c and only one *.h files (except rtwtypes.h)
Thanks for your suggestion
Below my configuartion :
MATLAB Version 7.6
Simulink Version 7.1
Real-Time Workshop Version 7.1
Real-Time Workshop Embedded Coder Version 5.1