Azzera filtri
Azzera filtri

Detect figure or uifigure from the handle?

3 visualizzazioni (ultimi 30 giorni)
Simple question: How can I detect if the handle of Type 'figure' corresponds to a figure or uifigure?

Risposta accettata

Walter Roberson
Walter Roberson il 15 Set 2023
figure() handles do not have a property isUIFigure
uifigure() handles have a property isUIFigure with value true

Più risposte (1)

Voss
Voss il 15 Set 2023
Where f is your figure or uifigure handle:
matlab.ui.internal.isUIFigure(f)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by