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.

 採用された回答

Fangjun Jiang
Fangjun Jiang 2021 年 1 月 30 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by