Issue with path is breaking some built-ins

I recently reset my path to default. Ever since, when I try to use the isnan function, I get the following error message:
Check for missing argument or incorrect argument data type in call to function 'isnan'.
I think that this must have something to do with my path being set to default, but I'm not sure how to fix it. Do I have to write my own isnan.m function? Or should I just redownload MATLAB and hope that fixes it?
Thanks for your help.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 30 de En. de 2021

0 votos

Did you run "restoredefaultpath" to restore the path? Usually it should resove any problem related to the path.
Run "which -all isnan" to see if there are any items that are not "built-in" or from non-MATLAB folder.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 30 de En. de 2021

Respondida:

el 30 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by