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

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

set_param('BlockPath','VariableName','VariableNameHere');

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 9 Jul 2012

Community Treasure Hunt

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

Start Hunting!