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

1 vue (au cours des 30 derniers jours)
tayeb
tayeb le 9 Juil 2012
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.

Réponse acceptée

TAB
TAB le 9 Juil 2012
Modifié(e) : TAB le 9 Juil 2012
set_param('BlockPath','VariableName','VariableNameHere');

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by