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

45 vues (au cours des 30 derniers jours)
Del
Del le 23 Jan 2013
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?

Réponse acceptée

Matt Kindig
Matt Kindig le 23 Jan 2013
Modifié(e) : Matt Kindig le 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

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by