image error 2019a

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

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.
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 Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 17 Apr 2019

Commented:

on 29 Apr 2019

Community Treasure Hunt

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

Start Hunting!