uiselectobject

ask the user to select an object of the specified type

Vous suivez désormais cette soumission

UISELECTOBJECT ask the user to select an object of the specified type inside a figure and wait
until the user click on an object of the given type.
H = UISELECTOBJECT(TYPE,HFIG) waits until the user selects an object with
type equal to TYPE in figure HFIG and returns its handle. TYPE is a string or a cell
array of strings containing the valid types.
H = UISELECTOBJECT(TYPE) look for the specified object inside the
current figure.

Example:
h=uiselectobject('Line',gcf);
h.Color='r'

Citation pour cette source

Luca Amerio (2026). uiselectobject (https://fr.mathworks.com/matlabcentral/fileexchange/55140-uiselectobject), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Update figure-Based Apps dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0