关闭

Matlab 启动出现 Warning: Name is nonexistent or not a directory 的解决办法

832人阅读 评论(0) 收藏 举报

Matlab 启动出现 Warning: Name is nonexistent or not a directory 的解决办法

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

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:32264次
    • 积分:397
    • 等级:
    • 排名:千里之外
    • 原创:2篇
    • 转载:27篇
    • 译文:0篇
    • 评论:0条
    文章分类