How can I display an image from a function that are operated by app designer in the app?

조회 수: 1 (최근 30일)
Hi everyone :)
I have a function that contains an infint loop, and whenever a condition is checked, I want it to display an image on the app. Ant ideas how can I do so?
Thanks,
Michal
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 12월 2일
Make sure you create an axes to display the image in, and pass the axes handle to imshow() using the 'parent' option
Michal Elad
Michal Elad 2020년 12월 2일
편집: Michal Elad 2020년 12월 2일
Thank you very much!!
I'm very new to working with GUIs, any chance you can write me an exampke of how I create the handle in the app designer and then how I use it in my function?
Thank you again,
Michal

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

답변 (1개)

Pranav Verma
Pranav Verma 2020년 12월 11일
Hi Michal,
You'll need imshow function to display the image.
Please refer to the below answers. They contain discussion on the similar lines:
Thanks

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by