Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

In Appdesigner , how to know the attributes of certain UI

1 visualización (últimos 30 días)
Alaa Hesham
Alaa Hesham el 7 de En. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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?

Respuestas (1)

Vishal Chaudhary
Vishal Chaudhary el 10 de En. de 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.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by