Insert image in AppDesigner GUI

81 ビュー (過去 30 日間)
David Alvarez
David Alvarez 2016 年 5 月 8 日
編集済み: Eric Sargent 2020 年 5 月 22 日
I need to include PNG and JPG files inside an AppDesigner GUI, however I've not found yet a way to do it. Could anybody help me?

採用された回答

Chris Portal
Chris Portal 2016 年 5 月 11 日
編集済み: Eric Sargent 2020 年 5 月 22 日
Starting in R2019a you can use the uiimage function.
For releases R2016b to R2018b, you can plot image data into a UIAXES.
If you're looking to display image data from a file, the new App Designer button component provides an Icon property that accepts image files. You can reference the following documentation:
  2 件のコメント
Royi Avital
Royi Avital 2016 年 8 月 18 日
編集済み: Royi Avital 2016 年 8 月 18 日
Will it be available in R2016b?
Walter Roberson
Walter Roberson 2016 年 8 月 18 日
If you want to know whether it will be available in R2016b and you are eligible for the Preview, then download the preview and test. Information about forthcoming releases is under Non Disclosure Agreement so the people who know (one way or the other) cannot answer the question here.

サインインしてコメントする。

その他の回答 (3 件)

Melinda Toth-Zubairi
Melinda Toth-Zubairi 2019 年 3 月 25 日
Starting in R2019a you can use the uiimage function to create an image component in App Designer apps. See the following post for more information.

Sean de Wolski
Sean de Wolski 2016 年 10 月 19 日
This capability is in R2016b.

Walter Roberson
Walter Roberson 2016 年 5 月 8 日
  2 件のコメント
David Alvarez
David Alvarez 2016 年 5 月 8 日
So there isn't any way to do it, is it? I would have to work with GUIDE then...
Thank you.
Image Analyst
Image Analyst 2016 年 5 月 8 日
Yes. Hopefully just until the next release in September. Not being able to display images would be a major outage. I'm actually surprised they released it yet without that capability.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by