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

45 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Matt Kindig
Matt Kindig el 23 de En. de 2013
Editada: Matt Kindig el 23 de En. de 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

Más respuestas (0)

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by