How do I save handles struct from a GUI as a .txt file in a way I can then uploaded back to the GUI?

1 view (last 30 days)
I want to save my GUI data into a .txt file and then be able to upload that .txt file again to my GUI. I know I can use a .mat file, but I really want to use the .txt file.

Answers (1)

Walter Roberson
Walter Roberson on 19 Oct 2019
If you do not care whether the file is human readable, then you can try using https://www.mathworks.com/matlabcentral/fileexchange/34564-fast-serialize-deserialize

Categories

Find more on Structures in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!