i can put image

1 vue (au cours des 30 derniers jours)
Mardhika Jenned
Mardhika Jenned le 2 Mar 2011
i write script like this.
e=input('enter the name = ') b=imread('e'); image(b);
and i input a.jpg . why error ? thx

Réponse acceptée

Paulo Silva
Paulo Silva le 2 Mar 2011
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'.

Plus de réponses (1)

Mardhika Jenned
Mardhika Jenned le 2 Mar 2011
Thx very much, i can handle it now

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by