cell part not saved using '-struct' option

1 visualizzazione (ultimi 30 giorni)
Yu Li
Yu Li il 21 Mag 2019
Commentato: Walter Roberson il 22 Mag 2019
Hi:
I have a structure variable 'ImaInfo' like below:
Capture.JPG
then I saved it into disk using '-struct' option, using command:
save('test.mat','-struct','ImaInfo')
but the variable data in the struction ('ImaInfo.data') is not saved in the 'test.mat' file, as shown below:
Capture.JPG
just want know if there is any mistake with my operation? or 'cell' type is not allow to save in '-struct' option?
Thanks!
Yu
  10 Commenti
Yu Li
Yu Li il 22 Mag 2019
I tried the '-v7.3' option, yes, the parameter is successfully saved. but I have one more question:
the size of original file is: 778436Kb
the size of compressed file is: 778431Kb
the usage of '-v7.3' only reduced 5Kb of the disk size, do you think this weird?
Thansk!
Yu
Walter Roberson
Walter Roberson il 22 Mag 2019
V7.3 is not a compression specification. V7.3 uses a completely different internal format for data that is able to hold large variables where the old format included size counters that were limited to 1 gigabytes.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Structures 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!

Translated by