Detect figure or uifigure from the handle?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Bruno Luong
el 15 de Sept. de 2023
Comentada: Cris LaPierre
el 15 de Sept. de 2023
Simple question: How can I detect if the handle of Type 'figure' corresponds to a figure or uifigure?
Respuesta aceptada
Walter Roberson
el 15 de Sept. de 2023
figure() handles do not have a property isUIFigure
uifigure() handles have a property isUIFigure with value true
1 comentario
Más respuestas (1)
Voss
el 15 de Sept. de 2023
Where f is your figure or uifigure handle:
matlab.ui.internal.isUIFigure(f)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!