How to save workspace variables and values a s binary file
显示 更早的评论
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 个评论
Walter Roberson
2018-3-4
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
2018-3-4
Walter Roberson
2018-3-5
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
2018-3-5
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!