Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to set the image into axis using GUI?

Asked by PRIYANGA on 21 Jan 2013

[filename1 pathaname]=uigetfile('*.jpg');

axes1=imread(filename1);

axes11(hadles.loadimage);

I can get image using loadbuttuon option but do not set into the axes.

how can i set or load image into axes?

please help me

0 Comments

PRIYANGA

1 Answer

Answer by Jurgen on 21 Jan 2013
Accepted answer

It seems you name your image axes1. I'm not sure what axes11 is,nor what hadles.loadimage contains.

have you tried image(axes1), imagesc(axes1) or imshow(axes1)?

0 Comments

Jurgen

Contact us