How to get Figure Container's Properties?

20 visualizzazioni (ultimi 30 giorni)
Naoto Nagaoka
Naoto Nagaoka il 20 Ott 2025 alle 6:39
Commentato: Taylor circa 14 ore fa
How can I get and set the properties of a Figure Container introduced in MATLAB 2025?
For example, I want to change the window state of a Figure Container (not the figure window state) to “Maximized” from a script.

Risposte (2)

Taylor
Taylor circa 9 ore fa
You can still just set the window state to maximized. It will force the figure container to be maximized.
figure("WindowState", "maximized")
Or are you trying to maximize the container without changing the size of the figure itself? If so, I do not believe that is possible.

Naoto Nagaoka
Naoto Nagaoka circa 16 ore fa
TThank you for your reply.
I would like to know how to get/set the properties of a Figure Container.
I want to use a script to perform actions like “maximize” or “minimize” on a Figure Container containing multiple figures all at once.
  1 Commento
Taylor
Taylor circa 2 ore fa
You can edit the default properties. See this if you want the properties to persist across MATLAB sessions.

Accedi per commentare.

Categorie

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

Prodotti


Release

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by