Changing GUI figure icon
Show older comments
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
Accepted Answer
More Answers (1)
Adam Danz
on 11 Jul 2025
1 vote
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')
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!