Changing GUI figure icon
8 views (last 30 days)
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
0 Comments
Accepted Answer
Image Analyst
on 13 Feb 2013
If you compile your program, you can:
How do I associate a custom icon with an EXE compiled with the MATLAB Compiler
2 Comments
Image Analyst
on 13 Feb 2013
I don't recall. I'd have to check, but you can do that as well as I can.
More Answers (1)
Adam Danz
on 11 Jul 2025
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')
0 Comments
See Also
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!