cell part not saved using '-struct' option

1 回表示 (過去 30 日間)
Yu Li
Yu Li 2019 年 5 月 21 日
コメント済み: Walter Roberson 2019 年 5 月 22 日
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 件のコメント
Yu Li
Yu Li 2019 年 5 月 22 日
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 2019 年 5 月 22 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by