AnsweredAssumed Answered

About Code generation in the Model Based Software

Question asked by Eden Li on Apr 26, 2017
Latest reply on May 1, 2017 by dumitru-daniel.popa
Branched to a new discussion

Hi Guys,

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

Outcomes