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

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 9 月 30 日

0 投票

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

1 件のコメント

Ole Møller Christensen
Ole Møller Christensen 2014 年 10 月 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 ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by