大家好,我在linux下装了个matlab,但是运行时的问题是:
[wylin@node37 bin]$ ./matlab -nodesktop

< M A T L A B >
Copyright 1984-2005 The MathWorks, Inc.
Version 7.0.4.352 (R14) Service Pack 2
January 29, 2005

Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
Type 'help toolbox_path_cache' for more info.
Warning: Name is nonexistent or not a directory: <PLEASE FILL IN ONE DIRECTORY PER LINE>.
Undefined function or variable "ispc".
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/help.../pathdef.shtml
to help troubleshoot the "pathdef.m" file. To recover for this session
of MATLAB, type "restoredefaultpath;matlabrc".
??? Undefined command/function 'colordef'.

Error in ==> hgrc at 59
colordef(0,'white') % Set up for white defaults

Error in ==> matlabrc at 91
hgrc

>>

我输入restoredefaultpath;matlabrc命令时
>> restoredefaultpath;matlabrc
Warning: Duplicate directory name: /public1/Matlab7/toolbox/stateflow/stateflow.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7/toolbox/rtw/rtw.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7/toolbox/shared/optimlib.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7/toolbox/shared/optimlib.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /public1/Matlab7/toolbox/shared/optimlib.
> In restoredefaultpath at 50
??? Undefined function or variable 'matlabrc'.

>> quit
??? The path may be bad. Please save your work (if desired), and quit.

>> quit
[wylin@node37 bin]$

其中有些命令可以运行 比如 rand,size,cd
但是dir,help等运行不了,哪位大哥知道这是怎么回事?
Warning: MATLAB did not appear to successfully set the search path 这个问题如何解决啊?