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


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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值