Hi everyone,
I get the error Unrecognized function or variable 'corrplot' when I try to excute this function.
The problem is that I have the Econometrics Toolbox (which is necessary for this function) installed. I have tried uninstalling it and reinstalling it but it didn't work.
I already have searched in the forums but I didn't found any answer that could help me.
(Running MATLAB in Ubuntu 20,04)
Does anyone know how to make this work?
Thank you in advance for your help.

4 commentaires

Have you checked it is definitely installed by typing
ver
on the command line?
And if it is, what does
which corrplot
on the command line show?
Moy Sotelo
Moy Sotelo le 3 Nov 2021
Modifié(e) : Moy Sotelo le 3 Nov 2021
Thank you very much for your quick response, Adam.
Actually, the toolbox doesn't appear when I type
ver
but it appears as "Installed" in the Add-On Manager.
Oh, and I forgot to mention that I'm running MATLAB on Ubuntu 20.04.
What do you recommend?
Adam
Adam le 3 Nov 2021
I'm afraid I'm not familiar with Ubuntu or the finer points of toolbox installation, but that is definitely your problem, if the toolbox is not showing in the ver command.
Moy Sotelo
Moy Sotelo le 3 Nov 2021
I see, don't worry Adam. I really do appreaciate your help.
If I find the solution I will post it here.
Best wishes.

Connectez-vous pour commenter.

 Réponse acceptée

Moy Sotelo
Moy Sotelo le 3 Nov 2021

0 votes

All I had to do was execute matlab as a super user using
sudo matlab
from terminal.
Then run the command
restoredefaultpath
and
savepath pathdef.m
Finally, run
ver
again to check if the path was updated and the toolbox appears.

Plus de réponses (0)

Catégories

Produits

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by