フィルターのクリア

how to access value from gui to simulink subsystem for mask resistor ????

2 ビュー (過去 30 日間)
sarath krishna
sarath krishna 2015 年 6 月 13 日
コメント済み: sarath krishna 2015 年 6 月 13 日
i want to change my resistor value from gui... i gave for example set_param('MyModel/MySubsystem/MyBlock','resistance','10'); but it shows Myblock does not have resistance parameter.. help me to solve this problem

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 13 日
編集済み: Azzi Abdelmalek 2015 年 6 月 13 日
To get the reals names of your parameters type
get_param('MyModel/MySubsystem/MyBlock','DialogParameters')
The name of the parameter you want to change is R, not resistance.
set_param('MyModel/MySubsystem/MyBlock','R','10')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by