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

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