Speeding up a load file workflow
Mostrar comentarios más antiguos
I'm working with a program that outputs simulation to results to many .mat files. To analyze these results, I need to load each of these mat files. Currently, I use the following lines to do this.
for i = 1:numFiles
cases{i} = load(files(i).name);
end
after preallocating the cases cell array, of course. The problem is, repeatedly using the load function like this can drastically increase the time I need to analyze my results, depending on how many mat files this program outputs.
My question, then, is this: Is there any way to load multiple files at once?
Thanks!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Background Processing 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!