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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by