Insert image in AppDesigner GUI

91 visualizaciones (últimos 30 días)
David Alvarez
David Alvarez el 8 de Mayo de 2016
Editada: Eric Sargent el 22 de Mayo de 2020
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?

Respuesta aceptada

Chris Portal
Chris Portal el 11 de Mayo de 2016
Editada: Eric Sargent el 22 de Mayo de 2020
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 comentarios
Royi Avital
Royi Avital el 18 de Ag. de 2016
Editada: Royi Avital el 18 de Ag. de 2016
Will it be available in R2016b?
Walter Roberson
Walter Roberson el 18 de Ag. de 2016
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.

Iniciar sesión para comentar.

Más respuestas (3)

Melinda Toth-Zubairi
Melinda Toth-Zubairi el 25 de Mzo. de 2019
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 el 19 de Oct. de 2016
This capability is in R2016b.

Walter Roberson
Walter Roberson el 8 de Mayo de 2016
  2 comentarios
David Alvarez
David Alvarez el 8 de Mayo de 2016
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 el 8 de Mayo de 2016
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by