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

1 回表示 (過去 30 日間)
Michal Elad
Michal Elad 2020 年 12 月 2 日
回答済み: Pranav Verma 2020 年 12 月 11 日
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 Center および File ExchangeDevelop 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