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 commentaires

Walter Roberson
Walter Roberson le 17 Avr 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 le 29 Avr 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by