您的位置:首页 > 编程语言 > MATLAB

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

2013-12-05 12:37 691 查看

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐