Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 30 Nov 2022
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 Commento
Walter Roberson
Walter Roberson il 30 Nov 2022
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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by