How to save workspace variables and values a s binary file
Mostrar comentarios más antiguos
I wrote a code and want to save all workspace's variables and their values as a .txt file or other formats as a binary file just to print them out. Note I need both variable names and values.
4 comentarios
Walter Roberson
el 4 de Mzo. de 2018
This can be tricky when you start getting into graphics objects, or cell arrays, or non-scalar struct especially if not all the descendants have the same fields... And how would you like arrays with 3 or more dimensions to be output?
Mos_bad
el 4 de Mzo. de 2018
Walter Roberson
el 5 de Mzo. de 2018
Are all of the variables pure numeric? Are they all row vectors? Are some of them 2D arrays? Are some of them 3D arrays?
Mos_bad
el 5 de Mzo. de 2018
Respuesta aceptada
Más respuestas (0)
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!