Save Struct as .mat file!!!
Mostrar comentarios más antiguos
Hello all,
I have a problem in saving Struct format in .mat file.
If I have "a" as 1x5 struct
So, in command window it looks like this:
a =
ans =
246
ans =
444
ans =
630
ans =
810
ans =
984
Any way that I can save it as a .mat file of 1x5?
Thanks so much for your help :)
1 comentario
M G
el 11 de Ag. de 2013
Respuesta aceptada
Más respuestas (1)
the cyclist
el 11 de Ag. de 2013
What do you mean by "a .mat file of 1x5"?
>> save filename.mat a
will save the structure, exactly as it is in the workspace.
>> load filename.mat a
will load it back into the workspace.
1 comentario
M G
el 11 de Ag. de 2013
Categorías
Más información sobre File Operations 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!