guys plz if anyone can open my project and tell me the problem i would really appreciate it
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
jana
am 30 Nov. 2022
Kommentiert: Walter Roberson
am 30 Nov. 2022
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
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 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 Kommentar
Walter Roberson
am 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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!