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

 Akzeptierte Antwort

Paulo Silva
Paulo Silva am 2 Mär. 2011

0 Stimmen

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'.

Weitere Antworten (1)

Mardhika Jenned
Mardhika Jenned am 2 Mär. 2011

0 Stimmen

Thx very much, i can handle it now

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by