I'm getting an error when using the image function:
Here's the test code:
tst = [1 .5 0;1 1 1];
image(tst);
Error using image
Undefined function or variable 'newplot'.
so what am I doing wrong or is it Matlab?

댓글 수: 2

First thing to try is
restoredefaultpath
rehash toolboxcache
savepath
If newplot still cannot be found after that, then you might need to reinstall your MATLAB.
Rishabh Gupta
Rishabh Gupta 2019년 4월 29일
Hi Sean,
You could try Walter suggestion. And if the commands doesnt solve the issue, try clean reinstalling the MATLAB.
If the issue persists, contact MathWorks technical Support for assistance.
https://www.mathworks.com/support/contact_us.html

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

릴리스

R2019a

태그

질문:

2019년 4월 17일

댓글:

2019년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by