How to insert an image in app designer?

조회 수: 14 (최근 30일)
Muazma Ali
Muazma Ali 2022년 5월 8일
댓글: Image Analyst 2022년 7월 29일
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.

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by