Issue with path is breaking some built-ins

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 30 Gen 2021
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.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by