Issue with path is breaking some built-ins

2 views (last 30 days)
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.

Accepted Answer

Fangjun Jiang
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.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!