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

2 views (last 30 days)
Song Decn
Song Decn on 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);

Answers (0)


Community Treasure Hunt

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

Start Hunting!