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

1 view (last 30 days)
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

Azzi Abdelmalek
Azzi Abdelmalek on 9 Apr 2014
Edited: Azzi Abdelmalek on 9 Apr 2014
If you mean how to change your block parameter, you can use set_param
doc set_param

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs 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!