How to display image in a GUI programmatically (without GUIDE)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mehdi
am 17 Mai 2015
Kommentiert: Stephen23
am 17 Mai 2015
Hi everyone,
I have created a GUI (without GUIDE) in which I have added an "axes" as follows:
logo_tos = axes('parent', amfig, 'Position', [0.098 .25 .8 0.8], 'Units', 'normalized', 'color', 'w');
to display an image. The code that I have used is:
logo = imread ('myimage.PNG');
But it doesn't show anything. Could anyone please tell me what I'm missing here? I'd be very grateful.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox 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!