How to load a .mat file from the parent directory?
Mostra commenti meno recenti
How to load a file which is in the parent directory of the running script?
Risposta accettata
Più risposte (1)
Simpler and more efficient with a relative pathname using the dotdot-folder name to access the parent folder:
load('../mymatfile.mat')
Categorie
Scopri di più su Search Path in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!