How to create an uifigure with gcf

6 Ansichten (letzte 30 Tage)
Markus Leuthold
Markus Leuthold am 14 Jun. 2022
Kommentiert: Jan am 14 Jun. 2022
I'm looking for an gcf() equivalent for the new web-based uifigure(). Or in other words, I'm looking for this function:
  • If no uifigure exists, create a new one
  • If an uifigure already exists, use the existing one
Currently, if an uifigure exists and you call gcf, a new java-based figure() is created.
  1 Kommentar
Jan am 14 Jun. 2022
This requires from clutter if you want to support older Matlab versions. When I search for corresponding details in the forum, I find your answers and comments there already.

Melden Sie sich an, um zu kommentieren.

Antworten (0)


Find more on Develop uifigure-Based Apps in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by