フィルターのクリア

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