MATLAB Answers

Simulink Embedded Coder: Export init/entry/step function into a seprate file

조회 수: 3(최근 30일)
Song Decn
Song Decn 4 Nov 2017
As the title say, does anyone knows how to generate a seprate declaration for the init/entry/step function into a seprate user-defined header file?
Normally they are located in MODEL_NAME.h.
/* Model entry point functions */
extern void MODEL_initialize(void);
extern void MODEL_terminate(void);
/* Customized model step function */
extern void MODEL_update(void);
Thanks

  댓글 수: 0

댓글을 달려면 로그인하십시오.

답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!