我是matlab新手,安装了matlab R2010a。安装好后启动的主界面出现Attempt to execute SCRIPT pathdef as a function:
E:\matlab2010\toolbox\local\pathdef.m
Warning: MATLAB did not appear to successfully set the search path. To avoid this
warning the next time you start MATLAB, use
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml
to help troubleshoot the "pathdef.m" file. To recover for this session
of MATLAB, type "restoredefaultpath;matlabrc".
Warning: Duplicate directory name: E:\matlab2010\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 102
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 125
Warning: Failed to add default profiler filters.
In matlabrc at 181
并且我输入指令后报错说Undefined function or method '指令名' for input arguments of type 'char'.如 mbuild -setup
??? Undefined function or method 'mbuild' for input arguments of type 'char'.
怎么解决这一问题