MATLAB: I can put image

image analysis

i write script like this.
e=input('enter the name = ') b=imread('e'); image(b);
and i input a.jpg . why error ? thx

Best Answer

e=input('enter the name = ','s')
b=imread(e);
image(b);
You were using input to save numeric data to e and instead of the value inside e you were saying to imread to open the letter e like this 'e'.