Insert image in AppDesigner GUI

조회 수: 84 (최근 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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by