Error in Saving mat file

6 次查看(过去 30 天)
Honey
Honey 2020-3-8
评论: Honey 2020-3-8
Hi,
I have a error after runing a very long and time consuming program. I wanted to save it in a mat file.
"Warning: Variable "DATA" was not saved. For variables larger than 2G use MAT-file version 7,3 or later"
My Matlab is "R2019b". What should I do?
  1 个评论
Stephen23
Stephen23 2020-3-8
"What should I do?"
Have you tried following the advice given in the error message?

请先登录,再进行评论。

回答(1 个)

Thiago Henrique Gomes Lobato
You can use the version 7,3 like this:
save('DATA.mat','DATA','-v7.3');

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by