Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

In Appdesigner , how to know the attributes of certain UI

1 Ansicht (letzte 30 Tage)
Alaa Hesham
Alaa Hesham am 7 Jan. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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?

Antworten (1)

Vishal Chaudhary
Vishal Chaudhary am 10 Jan. 2019
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.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by