Removes/restores the border and title bar of legacy (Java-based) Matlab figures
http://undocumentedmatlab.com/articles/frameless-undecorated-figure-windows
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Description:
- undecorateFig removes the border, title bar, menu bar and toolbar of a legacy (Java-based) Matlab figure.
- redecorateFig restores the figure to its previous (decorated) state.
Syntax:
undecorateFig(hFig) % hFig is a figure handle or any other GUI handle (default: current figure)
redecorateFig(hFig)
Technical details:
Warning:
- This only works with legacy (Jav-based) figures, not the new (web-based) uifigures. For this reason, it will not work for any figure on R2026a+, nor with uifigures in earlier Matlab releases (created via the uifigure function or the App Designer tool).
- This code heavily relies on undocumented and unsupported Matlab functionality. It is expected to work on Matlab 7 and higher, but use at your own risk!
Zitieren als
Yair Altman (2026). undecorateFig - remove/restore figure border and title bar (https://de.mathworks.com/matlabcentral/fileexchange/50111-undecoratefig-remove-restore-figure-border-and-title-bar), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.1.1.0 (67,8 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen bis R2025b
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.1.0 | Clarified description to indicate this only works with legacy Java figures, not the new uifigures. No code was modified. |
|
|
| 1.1.0.0 | Removed annoying Matlab warning that "figure JavaFrame property will be obsoleted in a future release" |
||
| 1.0.0.0 |
