필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

In Appdesigner , how to know the attributes of certain UI

조회 수: 1 (최근 30일)
Alaa Hesham
Alaa Hesham 2019년 1월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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?

답변 (1개)

Vishal Chaudhary
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.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by