Question about load .mat files
Mostrar comentarios más antiguos
I have a group of .mat files, which have continuous number of name, i.e. from W_star_1.mat to W_star_300.mat. Could I write a code using "for i=1:300" loop to load all of them instead of loading them one by one? Thank you very much.
Respuesta aceptada
Más respuestas (1)
mohammad
el 7 de Jul. de 2012
First you can save them when all of them are on the workspace
save(['name', '.mat']);
then use
load(['name', '.mat']);
Categorías
Más información sobre Workspace Variables and MAT Files 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!