image thumbnail

setMenuIcon

version 1.0.5 (15.2 KB) by Florian Rau
Add an icon to UIMENU items.

42 Downloads

Updated 03 Dec 2020

From GitHub

View license on GitHub

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.

Cite As

Florian Rau (2022). setMenuIcon (https://github.com/bimac/setMenuIcon), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: Add Icons to GUI menus

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.