Walkthrough of process to change uicontrol CData property to make your push button display a picture and some details that go with this.
Steps:
1. save images to same folder,
2. use imread() to read in image,
3. (optional) use imresize() to change image size,
4. set CData property in uicontrol ('style','pushbutton', ...) to the variable you stored the image you read in
If you are looking for a full tutorial on GUI without GUIDE, check out this playlist:
• MATLAB: GUI without GUIDE tutorial
If you are looking for help on how to plan out your GUI, check out this video: • How to start to develop a GUI (Graphi...
If you are looking for how to make the PvP or PvC first figure, watch this video:
• MATLAB GUI w/o GUIDE: figure, uicontr...
Player mode select page (PvP or PvC and start buttons along with inputs for players' name/s)
If you are looking for how to make the Tic Tac Toe Board this video starts with, check out this video: • MATLAB GUIs w/o GUIDE take time! (tic...
Download the current version of this Tic Tac Toe game GUI with updated images and beginning of PvC gameplay: https://www.mathworks.com/matlabcentr...
#MATLAB #GUI #forbeginners #gettingstarted #engineering #engineers #tutorial