Simulink code generation model global reset
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
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!