Why do I get the warning "MATLAB:dispatcher:InexactCaseMatch Cannot find an exact (case-sensitive) match for 'startup'" on MATLAB startup?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 31 Mai 2018
Modifié(e) : Bill Tubbs
le 20 Sep 2020
On startup the following message is displayed:
Warning: Executing startup 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:dispatcher:InexactCaseMatch
Cannot find an exact (case-sensitive) match for 'startup'
The closest match is: Startup in C:\Users\timdu\Documents\MATLAB\StartUp.m
Réponse acceptée
MathWorks Support Team
le 6 Nov 2019
The startup file MATLAB searches for is case sensitive.
In order to resolve this issue, the current 'StartUp.m' file should be renamed to 'startup.m'.
0 commentaires
Plus de réponses (1)
Bill Tubbs
le 20 Sep 2020
Modifié(e) : Bill Tubbs
le 20 Sep 2020
For me the problem started after I added a path to a module that I am using for a course. The scripts in this module are launched using a script called 'Startup.m' and I was told to add its directory to the Matlab path (which I did using addpath).
So, to fix it I did this:
rmpath('/Users/billtubbs/gel-7063/SimulPro')
savepath
and now I do not get the warning at startup.
Presumably the Matlab system also uses a file called 'startup.m' somewhere and therefore you must never create a file with that name and permanently add it to the path.
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!