Borrar filtros
Borrar filtros

How to save workfile without graphics

1 visualización (últimos 30 días)
Nguyen Bao
Nguyen Bao el 9 de Sept. de 2016
Respondida: Stephen23 el 10 de Sept. de 2016
Hi there, if I use "save filname", the workfile will be very lareg (~10GB) and matlab says: Warning: Figure is saved in Sign_10Sep.mat. Saving graphics handle variables can cause the creation of very large files. To save graphics figures, use savefig. Do you know how to save the workfile without graphics? I manually save the figures separately. Thanks.

Respuesta aceptada

Stephen23
Stephen23 el 10 de Sept. de 2016
If you don't want to save everything in your workspace, then don't save everything in your workspace. It really is that simple.
Read the save documentation, and you will find lots of options for selecting which variables to save, e.g. to save the two variable foo and baz, you would do this:
save('filename.mat','foo','baz')
save can also match variable names by regular expressions: read the doc to know more.

Más respuestas (0)

Categorías

Más información sobre MATLAB Report Generator 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