Setting maximum step size through script

Hi
Is it possible to set the maximum step size for at Simulink model through my Matlab script?
Thanks in advance

 采纳的回答

set_param('untitled','maxstep','0.1')

1 个评论

Thank you very much.
Actually found the setting in another post, but didn't understand the different variables, so didn't get that the 'untitled' part was the name of my Simulink model. It's nice to finally get smooth curves, when the auto setting uses too large time steps.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by