Issue with path is breaking some built-ins
2 views (last 30 days)
Show older comments
Samuel L. Polk
on 30 Jan 2021
Answered: Fangjun Jiang
on 30 Jan 2021
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.
0 Comments
Accepted Answer
Fangjun Jiang
on 30 Jan 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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!