Set the icon of the uipushtool on the toolbar to your specified image. Although you can do this by setting the uipushtool's CData, setIconImage can better preserve the transparency of the image after it is added on to the uipushtool.
Cite As
junziyang (2026). setIconImage (https://www.mathworks.com/matlabcentral/fileexchange/13202-seticonimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
setIconImage/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
