undefined function or variable workspacefunc

8 ビュー (過去 30 日間)
madhan ravi
madhan ravi 2018 年 10 月 17 日
コメント済み: madhan ravi 2018 年 10 月 17 日
complete error message:
Too many input arguments.
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: 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 'usejava' for input arguments of type 'char'.
> In matlabrc (line 141)
Warning: Initializing MATLAB Graphics failed.
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 variable 'ismac'.
> In hgrc (line 163)
In matlabrc (line 147)
Warning: Failed to add default profiler filters.
> In matlabrc (line 156)
Warning: Initializing 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:TooManyInputs
Too many input arguments.
> In matlabrc (line 185)
Error using feature
Too many input arguments.
Error in matlabrc (line 238)
if strcmpi(system_dependent('getpref','GeneralEchoOn'),'BTrue')
Undefined function or variable
'matlab.internal.environment.context.isMATLABOnline'.
>>
  2 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 17 日
@steven lord any insights would be helpful

サインインしてコメントする。

採用された回答

madhan ravi
madhan ravi 2018 年 10 月 17 日
  2 件のコメント
Jan
Jan 2018 年 10 月 17 日
So the problem was a function called feature.m, which confused Matlab substantially?
madhan ravi
madhan ravi 2018 年 10 月 17 日
Yes exactly @Jan

サインインしてコメントする。

その他の回答 (1 件)

Jan
Jan 2018 年 10 月 17 日
編集済み: Jan 2018 年 10 月 17 日
Did you read and consider the error message?
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.
So run the suggested fixing:
restoredefaultpath
matlabrc
Maybe you have to run Matlab with admin privileges to do this successfully.
If this fails, your Matlab installation has been destroyed. Either recover the files from your backup, or re-install Matlab. Find out, what happened before Matlab was damaged and avoid to do the same again.
  9 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 17 日
編集済み: madhan ravi 2018 年 10 月 17 日
error occurred after running this, right now I'm following according to this link to rectify the problem
madhan ravi
madhan ravi 2018 年 10 月 17 日
+1

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by