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

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 30 Sep. 2014

0 Stimmen

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

1 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by