Creating matrixes in .mat file
Mostrar comentarios más antiguos
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 comentario
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
Respuesta aceptada
Más respuestas (1)
Victor
el 25 de Jun. de 2014
0 votos
3 comentarios
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
el 25 de Jun. de 2014
Victor
el 25 de Jun. de 2014
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!