Changing GUI figure icon
显示 更早的评论
Hi,
I have a question about changing a GUI figure icon. I know that if I do that I would violate Matlab terms...but would it be posible to add my custom icon next to the Matlab icon so that both sides (me as a user and Matlab) were OK?
Thanks, Peter
采纳的回答
更多回答(1 个)
Adam Danz
2025-7-11
1 个投票
The Icon property has been available in a uifigure since since R2020b and it became available in regular figures in R2025a.
fig = figure('Icon','peppers.png')
类别
在 帮助中心 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!