How to save cell array of workspace vars into mat?
28 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Penny Ibil
am 2 Apr. 2020
Bearbeitet: Stephen23
am 23 Feb. 2022
If I have some variables in the base workspace, and a cell array of their names e.g. vars = {'A', 'B', 'C}, how can I use the save function to stores them to a mat? This doesn't work:
save('test.mat', vars)
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!