how to give the values for step block in simulink through command window.
1 回表示 (過去 30 日間)
古いコメントを表示
i tried with set_param('modelname/step',Finalvalue','5') but its showing error. pls help me to correct the issue.
0 件のコメント
回答 (1 件)
Sebastian Castro
2017 年 8 月 28 日
While set_param is certainly an option, I'd highly recommend that you create a MATLAB variable, e.g. finalValue in the workspace. Then, use that variable name asthe Step block's final value.
- Sebastian
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!