i can put image

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

 Respuesta aceptada

Paulo Silva
Paulo Silva el 2 de Mzo. de 2011

0 votos

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

Más respuestas (1)

Mardhika Jenned
Mardhika Jenned el 2 de Mzo. de 2011

0 votos

Thx very much, i can handle it now

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by