Info
この質問は閉じられています。 編集または回答するには再度開いてください。
In Appdesigner , how to know the attributes of certain UI
1 回表示 (過去 30 日間)
古いコメントを表示
For instance , For a discerte knob , how to refer to its current selected items ?
is it
discreteKnob.Value ?
or
discreteKnob.SelectedItems.Text
or
discreteKnob.States
how for brand new ui figure to know its associated attributes?
0 件のコメント
回答 (1 件)
Vishal Chaudhary
2019 年 1 月 10 日
To get all the current attributes of UI, "get" can be used.
For example:
ax = uiaxes;
get(ax)
ax.XLim=[0 10];
This will show all the current attributes and then they can be accessed and updated as in the last line.
Documentation link for "get" :https://www.mathworks.com/help/matlab/ref/get.html?searchHighlight=get&s_tid=doc_srchtitle
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!