guys plz if anyone can open my project and tell me the problem i would really appreciate it

1 回表示 (過去 30 日間)
so im working on appdesigner and i imported an image just fine and it turned green,red all as the button says suddenly it stoped working and nothing would show im genuienly confused, another thing is in the left side of the interface (the side with the import button )thats where the problem is the left side of the interface is when i import another image it still adds the changes t the first image imported plz guys i would honestly appreciate the help and thank u in advance
here is my app file

採用された回答

Image Analyst
Image Analyst 2022 年 11 月 30 日
After I imported an image it looked fine. It didn't turn all red or green.
Don't set XData and yData in imshow.
Don't set the xlim of the axes, just do
axis('on', 'image');
Don't have users browse to import an image. Just load up all the images in a listbox so they can simply click on the one they want - it's far simpler and kinder to your user.
  1 件のコメント
Walter Roberson
Walter Roberson 2022 年 11 月 30 日
If it is App Designer then you should name the axes being affected; otherwise you might end up creating a new axes.
axis(app.UIAxes3, 'on', 'image'); %for example

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by