How to save workfile without graphics
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
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.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!