How to load a .mat file from the parent directory?
Mostrar comentarios más antiguos
How to load a file which is in the parent directory of the running script?
Respuesta aceptada
Más respuestas (1)
Simpler and more efficient with a relative pathname using the dotdot-folder name to access the parent folder:
load('../mymatfile.mat')
Categorías
Más información sobre Search Path en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!