Setting maximum step size through script

7 views (last 30 days)
Hi
Is it possible to set the maximum step size for at Simulink model through my Matlab script?
Thanks in advance

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 30 Sep 2014
set_param('untitled','maxstep','0.1')
  1 Comment
Ole Møller Christensen
Ole Møller Christensen on 1 Oct 2014
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!