cell part not saved using '-struct' option

2 Ansichten (letzte 30 Tage)
Yu Li
Yu Li am 21 Mai 2019
Kommentiert: Walter Roberson am 22 Mai 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 Kommentare
Yu Li
Yu Li am 22 Mai 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 am 22 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Structures 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!

Translated by