Simulink code generation model global reset

1 view (last 30 days)
Simulink code generation produces multiple entry point functions, e.g. <void model_initialize(void)> and <void model_step(void)>. As the initialize function should not be used more than once (also interested to know specific reasons and potential consequences to use initialize as reset), is there a proper way to reset the model to its initial conditions considering the code is running on a real time system? Any suggestions on how to safely return to a fresh start are very welcome.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!