How to save workspace variables and values a s binary file
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 4 Mar 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
il 4 Mar 2018
Walter Roberson
il 5 Mar 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
il 5 Mar 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Workspace Variables and MAT Files in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!