Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
mat
mat am 25 Apr. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Sean de Wolski
Sean de Wolski am 25 Apr. 2013
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:

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by