Problem using function corrplot

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 comentarios

Adam
Adam el 3 de Nov. de 2021
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 el 3 de Nov. de 2021
Editada: Moy Sotelo el 3 de Nov. de 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 el 3 de Nov. de 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 el 3 de Nov. de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Moy Sotelo
Moy Sotelo el 3 de Nov. de 2021
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.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Preguntada:

el 3 de Nov. de 2021

Editada:

el 3 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by