how to give the values for step block in simulink through command window.
2 次查看(过去 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!