How can I parametrize the "From Workspace" block in Simulink?
古いコメントを表示
Hi, I am trying to parametrize the "From Workspace" block in Simulink. Instead of the default variable = "simulink-input", I want to use a name = "x1". "To workspace" block I changed for y1 with this -> set_param([sys '/To workspace'],'mat-name','y1'). Is there something like this for "From workspace"?
回答 (1 件)
A Jenkins
2015 年 3 月 24 日
0 投票
set_param([sys '/From workspace'],'VariableName','x1')
カテゴリ
ヘルプ センター および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!