How to save MAtlab output in a file that you can reopen later?

83 views (last 30 days)
I have some results in Matlab which are mainly cell arrays and numbers. I want to save these results(either in a .txt file or anywhere else) so that I can use them later to make a table, draw a graph, etc...
What is the best way to do that?

Accepted Answer

Matt Kindig
Matt Kindig on 23 Jan 2013
Edited: Matt Kindig on 23 Jan 2013
Save your workspace as a *.mat file is easiest. You can use File->Save Workspace As from the menu or using the 'save' command.
doc save
Then to retrieve the results, use File->Open or the 'load' command
doc load

More Answers (0)

Categories

Find more on Files and Folders in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!