필터 지우기
필터 지우기

imshow Unrecognized function or variable 'imshow'.

조회 수: 9 (최근 30일)
Malin Isaksson
Malin Isaksson 2019년 12월 19일
답변: Pravin Jagtap 2019년 12월 23일
Hi!
I accidentially named a file 'imshow.m' which overwrote the 'imshow' function in matlab, image processing toolbox.
I then deleted my file named 'imshow.m' and re-install the image processing toolbox (twice).
Cleared the history in malab and tried this:
restoredefaultpath
rehash toolboxcache
but nothing works.
I still get the 'Unrecognized function or variable 'imshow'.
And I also get this:
which -all imshow
'imshow' not found.
What can I do to fix this?

채택된 답변

Pravin Jagtap
Pravin Jagtap 2019년 12월 23일
Hello Malin,
‘imshow’ is part of base MATLAB which is present in the following directory:
C:\Program Files\MATLAB\R2020a\toolbox\matlab\images\imshow.m
‘imshow’ is shipped under the base MATLAB product and not with the ‘Image Processing Toolbox’. Therefore adding ‘Image Processing Toolbox’ will not help. Try re-installing the base Matlab product. It may help resolving the issue.
~Pravin

추가 답변 (0개)

카테고리

Help CenterFile 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