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

1 回表示 (過去 30 日間)
Song Decn
Song Decn 2017 年 11 月 4 日
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 件)

カテゴリ

Help Center および File Exchange建模 についてさらに検索

Community Treasure Hunt

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

Start Hunting!