Large MATLAB Figure (>1 GB)
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have MATLAB Figures of size 1.1 GB. The reason is the simulaiton sample time is 10ns, and data type is double (64 bit) in Xilinx HLS Blocks. This is just for 0.3 seconds time for a figure with only one waveform.
On saving this figure as an image after editing, the image file size exceeds 100 MB! I tried saving as svg image for reduced umage size, and included in MS Word. But, the picture had default mesh areas in it. On editing these meshes in Inkscape, the waveform within the mesh area also got deleted.
Extracted the x-axis and y-axis data tor reduce the data points for plotting sake. But, each data is a 1x20000001 array, and MATLAB doesn't open this large mat file!
Writing to xlsx file also didn't work - "The specified data range is invalid or too large to write to the specified file format. Try writing to an XLSX file and use Excel A1 notation for the range argument, for example, ‘A1:D4’." I don't understand what this means.
I've no idea how to view this large data or extract data every 1000 samples of x-axis (would correspond to 10e-6 resolution, which should be okay). I need to keep the simulation sampling time as 10ns, because the signals in the code require that resolution. Please help.
4 Commenti
Walter Roberson
il 14 Apr 2023
It is never been clear to me whether setting the save() preferences to use -v7.3 files by default will affect the use of savefig() . .fig files are specially structured .mat files, so... maybe??
But if not, then if you have a figure handle in a variable, then in theory you can save() -v7.3 the handle into a .mat file
Risposte (1)
mark palmer
il 14 Apr 2023
One obvious option is to break the image into segments and save each segment separately, then combine later on.
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!