http://hi.baidu.com/flyunderheaven/item/4f8ba25dcbc499ced3e10c2c
解决找不到目录的问题
方法一:在matlab中输入edit pathdef.m命令,然后打开了pathdef文件,将其中的相关目录注释掉然后保存,即可。
方法二:
也可以不打开pathdef.m文件,而直接用rmpath命令把pathdef.m中的相关找不到的目录去掉,然后用savepath保存。rmpath的用法可参考帮助文件。
Solution:
These warnings show that the indicated directories are either:
1. In your pathdef.m file, but the directories do not exist.
2. The directories are added to the MATLAB path using a custom startup.m file and the directories do not exist.
Therefore, you should edit either the pathdef.m file or the startup.m file to make sure that neither contains the directories that are being specified in the warnings. You can do this from within MATLAB as follows:
edit pathdef.m
edit startup.m
You may also be able to resolve this by simply resetting the path to the default. To do so, run the following commands within MATLAB:
restoredefaultpath;savepath