i can put image

1 回表示 (過去 30 日間)
Mardhika Jenned
Mardhika Jenned 2011 年 3 月 2 日
i write script like this.
e=input('enter the name = ') b=imread('e'); image(b);
and i input a.jpg . why error ? thx

採用された回答

Paulo Silva
Paulo Silva 2011 年 3 月 2 日
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'.

その他の回答 (1 件)

Mardhika Jenned
Mardhika Jenned 2011 年 3 月 2 日
Thx very much, i can handle it now

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by