Why can I set the data parameter of a Fromworkspace block by programming ???

3 views (last 30 days)
hello everyone, I would like to know how I can set the data parameter of a Fromworkspace block by programmation matlab. I tried with the set_param instruction but I can't find the parameter to choose the variable of the workspace.

Accepted Answer

TAB
TAB on 9 Jul 2012
Edited: TAB on 9 Jul 2012
set_param('BlockPath','VariableName','VariableNameHere');

More Answers (0)

Categories

Find more on Programmatic Model Editing 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!