How to insert an image in app designer?

8 views (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 8 May 2022
Can't you put an axes on the figure and call imread() and imshow() in your startup function?
  4 Comments
Muazma Ali
Muazma Ali on 29 Jul 2022
@Image Analyst How can I make sure that the axis disapperars from the GUI when the figure disappears..?
Image Analyst
Image Analyst on 29 Jul 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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!