save a large data to mat file

Hi, I want to save a large data 3^14*1000 double precision to mat file, however, matlab reports error as:
Warning: Variable 'a' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping...
And it cannot be saved.
I can change the precision to single but it is still very large, >1 GB. Is there a way matlab can save large data to a mat file? Thanks.

 採用された回答

Jakub
Jakub 2013 年 4 月 14 日

1 投票

4 件のコメント

Jakub
Jakub 2013 年 4 月 14 日
Try using HDF5 file..
C Zeng
C Zeng 2013 年 4 月 14 日
so use: save('a.mat','a','-v7.3'); Is it HDF5 file?
Jakub
Jakub 2013 年 4 月 15 日
type help h5write. your solution might be working as well
C Zeng
C Zeng 2013 年 4 月 16 日
Thanks, Jakub, which one is better? I think there may be many ways to handle it, right?

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

その他の回答 (0 件)

タグ

質問済み:

2013 年 4 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by