How to insert an image in app designer?

15 visualizzazioni (ultimi 30 giorni)
Hi! :)
I have included an image with a kind of sound in my program . I havent made any app yet but I am wondering whether there is a possibility in the app designer to make a such image appear at the beginning of the program. As my program starts, the image is closed and I want it to happen in the app also.

Risposta accettata

Image Analyst
Image Analyst il 8 Mag 2022
Can't you put an axes on the figure and call imread() and imshow() in your startup function?
  4 Commenti
Muazma Ali
Muazma Ali il 29 Lug 2022
@Image Analyst How can I make sure that the axis disapperars from the GUI when the figure disappears..?
Image Analyst
Image Analyst il 29 Lug 2022
The figure is the main window. The figure has an axes control on it. The axes control may have an image in it, or data like a line plot graph. When the figure disappears the whole program disappears including everything on the figure (axes, buttons, listboxed, checkboxes, etc.). If you want to hide an axes you cal call
cla
axis off
You can also set the visible property to 0 or 'off'. Or you mgiht try the attached function.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by