Assigning Simulink parameters values to the Model Workspace using command line or scripting

Hi All,
my aim is to be able to add a variable to the Model Workspace from Command Window and/or from a script.
How can I do that?
Thanks in advance
G

 채택된 답변

If you mean how to change your block parameter, you can use set_param
doc set_param

추가 답변 (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