百度知道,万能的google,太强大啦。
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
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
Files\MATLAB\R2010b\toolbox\local. 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
依次单击
file
set path
default
确定就可以了
追问
点set path后显示??? Undefined function or variable 'pathtool'.
回答
额 连pathtool这个文件也找不到了啊
试一试
restoredefaultpath;matlabrc
追问
太强大了,但是重启软件后有不行了
我是运行命令后set default path,再把pathdef文件保存在local文件夹下面去,重启后貌似可以运行了。但是图标还不是matlab图标。
http://www.verycd.com/topics/2905690/comments/page1