error on start up

2 ビュー (過去 30 日間)
Erasmus Ekong
Erasmus Ekong 2021 年 10 月 17 日
コメント済み: Erasmus Ekong 2021 年 10 月 18 日
Hello everyone, i am having a little challenge with my matlab. When i open it, it gives me series of errors.
please how can i stop this?
Thanks
  2 件のコメント
Walter Roberson
Walter Roberson 2021 年 10 月 17 日
What error messages are shown?
Erasmus Ekong
Erasmus Ekong 2021 年 10 月 18 日
Warning: Function find has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function gt has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function what has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
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:scriptNotAFunction
Attempt to execute SCRIPT path as a function:
C:\Users\Erasmus\Documents\MATLAB\path.m
> In matlabrc (line 118)
Attempt to execute SCRIPT path as a function:
C:\Users\Erasmus\Documents\MATLAB\path.m
Error in setupConnector>config_mpath (line 130)
Error in setupConnector (line 26)
Error in performConnectorAction>startService (line 105)
Error in performConnectorAction (line 13)
Error in connectorHandler>performAction (line 69)
Error in connectorHandler (line 28)
Error in connector (line 10)
connectorHandler(action, varargin{:});
Error in connector.internal.autostart.run (line 10)

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

採用された回答

Walter Roberson
Walter Roberson 2021 年 10 月 18 日
Quit MATLAB.
Then rename C:\Users\Erasmus\Documents\MATLAB to C:\Users\Erasmus\Documents\old-MATLAB
Now start MATLAB again; it will create a new empty C:\Users\Erasmus\Documents\MATLAB I believe (if not, create it yourself)
You can then look in old-MATLAB to find functions that are not the same as any Mathworks provided function and copy them in to C:\Users\Erasmus\Documents\MATLAB . But you should not copy in find.m or path.m or gt.m or what.m -- at least not without renaming them so they do not conflict with any Mathworks provided function.
  1 件のコメント
Erasmus Ekong
Erasmus Ekong 2021 年 10 月 18 日
Thank you so much sir, i really appreciate. Thank you so much

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by