startup.m not found in local folder
Afficher commentaires plus anciens
my Matlab (2019a, but it happened also with previous versions) on Window10 does not find the custom startup.m that I put in the in the folder c:\Program Files\MATLAB\R2019a\toolbox\local\
The folder is in the path.
Any command there (including startupsav.m) is found, but not startup.m, even though is there. That is so strange.
The folder cannot be written without Administrator privilege but I force it to put the custom startup there, anyway.
Maybe that explains the unexpected behavior?
Thanks for the support
Paolo
Réponse acceptée
Plus de réponses (2)
per isakson
le 2 Avr 2019
Modifié(e) : per isakson
le 2 Avr 2019
1 vote
This works for me. Have you set the "Start in" folder?

btw: I don't think it's a good idea to put startup.m in c:\Program Files\MATLAB\R2019a\toolbox\local\
2 commentaires
Paolo Canu
le 3 Avr 2019
Modifié(e) : Paolo Canu
le 3 Avr 2019
Hariharan
le 15 Mai 2025
where to find this properties options?
Athanasios Pittaras
le 11 Fév 2020
0 votes
Matlab cannot "see" the startup file because of path caching. You need to update the cached path after you have added your startup.m file in the \toolbox\local folder, or switch off the caching completely which will make startup slower. Search for "Toolbox Path Caching in MATLAB" in the documentation about how to do all this.
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!