为什么MATLAB会警告我有关不存在的路径? [英] Why MATLAB warn me about nonexistent path?

查看:618
本文介绍了为什么MATLAB会警告我有关不存在的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MATLAB 2015a.几天前,我在路径中添加了一个名为SPAMS的工具箱,出于某种原因,我删除了该工具箱.

I'm using MATLAB 2015a. few days ago I added a toolbox to my path called SPAMS and for some reason I deleted the toolbox.

当我去MATLAB set path删除其地址时,该地址不存在!

When I went to MATLAB set path to remove its address, the address was not there!

现在,每次我启动MATLAB时,它都会警告我该工具箱的地址不存在,但仍然不在路径中:Warning: Name is nonexistent or not a directory

Now, every time I start MATLAB, it warns me about a nonexistent address of that toolbox and still it is not in the path: Warning: Name is nonexistent or not a directory

我非常确定该地址不在MATLAB路径中,并且startup.m或任何其他文件都不会将其添加到动态路径中.

I'm quite sure that address is not in the MATLAB path and neither startup.m nor any other file adds it to dynamic path.

这些警告有什么用?

感谢您的帮助,

推荐答案

这是因为那些不存在的路径仍被保存. Matlab不会列出它们,因为该路径不存在.启动Matlab后,您只需简单地保存"路径,即可更新保存的路径,并避免在以后的会话中发出警告.

That is because those non-existing path are still saved. Matlab does not list them since the path do not exist. You can simply "Save" the path once after you start Matlab, so update the saved path, and avoid warning in the future sessions.

这篇关于为什么MATLAB会警告我有关不存在的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆