How to get Figure Container's Properties?
20 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Taylor
ungefär 9 timmar ago
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.
0 Comments
Naoto Nagaoka
on 23 Oct 2025 at 3:30
1 Comment
Taylor
ungefär 12 timmar ago
You can edit the default properties. See this if you want the properties to persist across MATLAB sessions.
See Also
Categories
Find more on Interactive Control and Callbacks 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!