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!