Creating matrixes in .mat file
Ältere Kommentare anzeigen
I want to create a .mat file and inside the .mat file, there are variables that represent individual matrices. So lets say in the .mat file I have a, b, c, d. And each a, b, c, d has its own matrix and I can add contents into each matrix. Is there a way to do this? thanks
1 Kommentar
You can place as many individual elements in a .mat file as memory permits. Those can be scalars, structures, cell arrays, tables, etc...
Please read the documentation on save to see how to put several variables in a .mat file.
doc save
Akzeptierte Antwort
Weitere Antworten (1)
Victor
am 25 Jun. 2014
0 Stimmen
3 Kommentare
From the documentation:
'-append'
Keyword to add data to an existing file. For MAT-files, -append adds
new variables to the file or replaces the saved values of existing
variables with values in the workspace. For ASCII files, -append adds
data to the end of the file.
Please place your post as a comment since it is not really an answer.
Victor
am 25 Jun. 2014
Victor
am 25 Jun. 2014
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!