필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
mat
mat 2013년 4월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 4월 25일
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:

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by