SETMENUICON(MENUOBJECT,ICONFILE) sets the icon of MENUOBJECT to ICONFILE. MENUOBJECT is a menu item created with MATLAB's own UIMENU. ICONFILE denotes the path to an image file containing the desired icon. This should work with GIF, JPEG and PNG images.
Zitieren als
Florian Rau (2024). setMenuIcon (https://github.com/bimac/setMenuIcon), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: Add Icons to GUI menus
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.5 | minor clean-up |
|
|
1.0.4 | added check for App Designer figures |
|
|
1.0.3 | added example |
|
|
1.0.2 | minor clean-up of the code |
|
|
1.0.1 | Corrected description and added acknowledgements |
|
|
1.0.0 |
|