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

 Accepted Answer

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

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!