How to get Matlab to remember a path permanently?
52 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
matheu Broom
le 14 Août 2018
Commenté : matheu Broom
le 16 Août 2018
Simple task, add a folder with subfolders to the Matlab path permanently. This has been bugging me for sometime. Every day or so I have to re-add my folder with all my code in it as Matlab has forgotten it from the path. Is there anyway to add this folder permanently and never have Matlab forget it?
Thanks Matheu
Réponse acceptée
Image Analyst
le 14 Août 2018
Click on the Set Path button on the Home tab of the tool ribbon. Click on the save button after you browse to the path.
Otherwise, put this into your startup.m file
addpath('c:\whatever');
savepath;
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Search Path dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!