채택된 답변

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