フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I include an image into a GUI?

2 ビュー (過去 30 日間)
Tomy Duby
Tomy Duby 2016 年 5 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I need to include images (in .jpg or .bmp format) in certain locations in a GUI that I am preparing.
How can I do this? A simple example would be most useful.
Thanks Tomy

回答 (1 件)

Geoff Hayes
Geoff Hayes 2016 年 5 月 14 日
Tomy - if you are using GUIDE to create your GUI, then just add one or more axes in the locations where you want to display the images. Then, in the _OpeningFcn of your GUI, load the images and place them in these axes using either imshow or image. In either of these calls, make sure that you specify the axes to which you want to display the image.
  1 件のコメント
Tomy Duby
Tomy Duby 2016 年 5 月 15 日
Thanks, Geoff, this is exactly what I was looking for!
Tomy

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by