error on start up

2 visualizzazioni (ultimi 30 giorni)
Erasmus Ekong
Erasmus Ekong il 17 Ott 2021
Commentato: Erasmus Ekong il 18 Ott 2021
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 Commenti
Walter Roberson
Walter Roberson il 17 Ott 2021
What error messages are shown?
Erasmus Ekong
Erasmus Ekong il 18 Ott 2021
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)

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 18 Ott 2021
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 Commento
Erasmus Ekong
Erasmus Ekong il 18 Ott 2021
Thank you so much sir, i really appreciate. Thank you so much

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by