how do i add a background image to the main GUIDE window

hi,
would appreciate very much a reference (or explanation) to the option of adding an image as a background to the guide GUI.
thanks a lot!
mat

Réponses (1)

Create an axes that is the size of the entire figure window. Set it's stacking order to be on the bottom.
Then, in the GUI's outputfcn, set the image to that axes:
image(imread(your_image),'Parent',handles.axes1)
Or see this example:

Cette question est clôturée.

Question posée :

mat
le 25 Avr 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by