How to Load Two MAT Files with Variables of Similar Names?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rightia Rollmann
am 6 Feb. 2017
Beantwortet: Steven Lord
am 6 Feb. 2017
I have a MAT File of variables A, B, and C. I have another MAT File with variables A, B, and C. Although the names of variables are the same, their contents are different. Is there any way to load both MAT files simultaneously to Workspace? I want to do that because MATLAB loads and clears the data of the MAT Files for each loop and the calculation time becomes so long.
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 6 Feb. 2017
Call load with an output argument. The variables will be loaded as fields of the struct array that load call returns.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!