Button for choose language-guide
显示 更早的评论
Hi,
how can I define any flag (picture) to bushbutton or how to put any picture for example to the pushbutton?
Thank you
采纳的回答
更多回答(1 个)
Jan
2012-3-12
You can set the 'CData' property of the uicontrol:
rgb = rand(10, 20, 3);
a = uicontrol('cdata', rgb);
3 个评论
john
2012-3-13
Jan
2012-3-13
GUIDE is a program to design GUIs, therefore you cannot insert a picture into it. The original question sounds, like you want to display a picture inside a pushbutton. If you want to get anything else, please explain this more detailed. What does "define a picture to pushbutton" exactly mean?
john
2012-3-13
类别
在 帮助中心 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!