setMenuIcon

版本 1.0.5 (15.2 KB) 作者: Florian Rau
Add an icon to UIMENU items.
80.0 次下载
更新时间 2020/12/3

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.

引用格式

Florian Rau (2024). setMenuIcon (https://github.com/bimac/setMenuIcon), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

参考作品: Add Icons to GUI menus

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库