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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

TAB
TAB am 9 Jul. 2012
Bearbeitet: TAB am 9 Jul. 2012
set_param('BlockPath','VariableName','VariableNameHere');

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by