image error 2019a

1 view (last 30 days)
Sean Lineaweaver
Sean Lineaweaver on 17 Apr 2019
Commented: Rishabh Gupta on 29 Apr 2019
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 Comments
Walter Roberson
Walter Roberson on 17 Apr 2019
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 on 29 Apr 2019
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

Sign in to comment.

Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!