I used the simulink/stateflow call external *.c and *.h files,and generated the Test_1_initialize(void) as below,
but,i wanna put the int_xx() function of the ad.c file in Test_1_initialize(void),shown as yellow mark.
I put stateflow in the Initialize Function,simulink shows that it is not supported,so i don't know how to do!
The attachment is the model built by myself.
Who can help me?Thanks very much!
Original Attachment has been moved to: Model.zip