How to load a .mat file from the parent directory?
Afficher commentaires plus anciens
How to load a file which is in the parent directory of the running script?
Réponse acceptée
Plus de réponses (1)
Simpler and more efficient with a relative pathname using the dotdot-folder name to access the parent folder:
load('../mymatfile.mat')
Catégories
En savoir plus sur Search Path 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!