採用された回答

Matthew Eicholtz
Matthew Eicholtz 2016 年 3 月 8 日
編集済み: Matthew Eicholtz 2016 年 3 月 8 日

1 投票

It looks from your screenshot that you named your script 'image.m', is that correct? If so, try changing that filename because you may be causing problems with the built-in MATLAB function called 'image'.
In general, try to steer clear of calling variables or files by names that MATLAB uses for other things.

1 件のコメント

piyanat chansong
piyanat chansong 2016 年 3 月 8 日
Thank you so much, I just found out that I have a filename "image.m" in my matlab folder and I finally deleted it, now imshow works.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Environment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by