Analyse at a time step
1 次查看(过去 30 天)
显示 更早的评论
I am wondering how I can do the analysis per time step during the simulation in Simulink. for example calculating the result of a function for different values at each time step and find it maximum.
0 个评论
回答(2 个)
Ryan G
2012-9-17
With R2012b (and with a bit more work in older versions) you can utilize simulink stepper to work through the model step by step.
0 个评论
Guy Rouleau
2012-9-17
If you need to execute a set of blocks or a function multiple time er time step, use the For or While action subsystem.
Type sl_subsys_semantics in MATLAB for examples
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!