Image as background in GUIDE
古いコメントを表示
Hello guys,
I'm trying to place an image as a background while working in GUIDE. I'm working with a schematic and I need to place Buttons and Text Boxes on the schematic at certain spots. How would I go about importing the image into GUIDE? The only thing I found was to have an image show after the GUI is run. I need the image to show while I'm creating the GUI in GUIDE in order to see where I'm placing these buttons. Thanks!
採用された回答
その他の回答 (2 件)
Image Analyst
2012 年 8 月 9 日
3 投票
I don't believe it's possible to have images displayed during design time in GUIDE. It's not Visual Studio after all - not even close.
Sean de Wolski
2012 年 8 月 9 日
- Create an axes that covers the whole gui.
- Have GUIDE automatically generate a CreateFcn for it
- In this CreateFcn, Have something along the lines of:
I = imread('cameraman.tif');
imshow(I,'parent',hObject);
4 件のコメント
Daniel Shub
2012 年 8 月 9 日
In r2011a the image shows up in the gui, but not in guide. In guide I just get an axis with a large X on it. I think Christian wants to see the image in guide.
Christian Jacinto
2012 年 8 月 9 日
Christian Jacinto
2012 年 8 月 9 日
Daniel Shub
2012 年 8 月 9 日
The IMSHOW function is part of the Image Processing Toolbox. This error suggests you do not have that toolbox. I am pretty sure this solution does not do what you want even if you had the IPT.
カテゴリ
ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!