我是靠谱客的博主 任性眼睛,最近开发中收集的这篇文章主要介绍MATLAB启动时报错pathdef.m not found问题的解决方法 MATLAB2011b安装一切正常,但启动后的command window却有如下多的warning,解决方案如下。 Warning: D:\Program Files\MATLAB\R2010b\toolbox\local\pathdef.m not found. Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more ,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

MATLAB2011b安装一切正常,但启动后的command window却有如下多的warning,解决方案如下。

Warning: D:Program FilesMATLABR2010btoolboxlocalpathdef.m not found.

Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more info 

Undefined function or variable 'ispc'.

Warning: MATLAB did not appear to successfully set the search path. To recover for this session of

MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you

start MATLAB, type "docsearch problem path" after recovering for this session. 

Warning: Duplicate directory name: D:Program FilesMATLABR2010btoolboxlocal. 

Warning: Initializing Handle Graphics failed in matlabrc.

This indicates a potentially serious problem in your MATLAB setup,

which should be resolved as soon as possible.  Error detected was:

MATLAB:UndefinedFunction

Undefined function or method 'colordef' for input arguments of type 'double'. 

> In matlabrc at 100

Warning: Initializing Java preferences failed in matlabrc.

This indicates a potentially serious problem in your MATLAB setup,

which should be resolved as soon as possible.  Error detected was:

MATLAB:UndefinedFunction

Undefined function or method 'usejava' for input arguments of type 'char'. 

> In matlabrc at 123

Warning: Failed to add default profiler filters. 

> In matlabrc at 179


感觉网上很多版主的介绍的解决方案都很乱,这里将我的方法说明如下:


1. 在command window窗口输入命令restoredefaultpath回车,等待执行完成;

2. 输入命令matlabrc回车,等待程序执行完成;
3. 输入命令 savepath pathdef.m回车,等待程序执行完成,随后 会生成一个pathdef.m文件;
4. 关闭matlab后重新启动matlab,这是后在command window还会有警告,原因是找不到pathdef.m文件;
5. 将第3步生成的pathdef.m文件复制到安装目录……MATLABR2011btoolboxlocal下,我是安装在D盘的。
6. 再重新启动matlab,就不会有警告了。

最后

以上就是任性眼睛为你收集整理的MATLAB启动时报错pathdef.m not found问题的解决方法 MATLAB2011b安装一切正常,但启动后的command window却有如下多的warning,解决方案如下。 Warning: D:\Program Files\MATLAB\R2010b\toolbox\local\pathdef.m not found. Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more 的全部内容,希望文章能够帮你解决MATLAB启动时报错pathdef.m not found问题的解决方法 MATLAB2011b安装一切正常,但启动后的command window却有如下多的warning,解决方案如下。 Warning: D:\Program Files\MATLAB\R2010b\toolbox\local\pathdef.m not found. Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more 所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(44)

评论列表共有 0 条评论

立即
投稿
返回
顶部