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!