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.
Qun HAN (2020). setIconImage (https://www.mathworks.com/matlabcentral/fileexchange/13202-seticonimage), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!