Saving/loading large images fast
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mateus Banroc
am 19 Dez. 2019
Kommentiert: Mateus Banroc
am 19 Dez. 2019
Hi everyone,
I'm working with large images (between 50MB and 100MB). When I save the figure obj using save in .mat format, MATLAB returns a warning "saving handle figures in .mat can create very large files. Try use savefig". So I tryed to use savefig and the .fig file was larger than the .mat file. Is there a method to save/load these figures in a faster way?
0 Kommentare
Akzeptierte Antwort
Rik
am 19 Dez. 2019
I think it would be faster to load the data and recreate the figure. In general savefig only makes sense if you have a large number of objects with non-default parameters.
Also, it is only a warning. Warnings should make you think hard about your approach. If then the conclusion is that you are using the best approach, you can either ignore the warning, or suppress it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!