我正在运行一个m文件,创建两个变量,Clus和Watts_Map.我想将两个变量保存到以".mat"结尾的文件中.两个变量的尺寸为(1152,241,319),其中1152为360度经度,增量为0.3125度,241为纬度,30S-30N为0.25度增量,超过319个时间步长.代码一直工作到最后,我得到错误:
[Warning: Variable 'Clus' cannot be saved to a MAT-file whose version is older
than 7.3.
To save this variable, use the -v7.3 switch.
Skipping...]
[Warning: Variable 'Watts_Map' cannot be saved to a MAT-file whose version is
older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping...]
Run Code Online (Sandbox Code Playgroud)
我使用的是Matlab版本R2014a,所以会认为这是最新版本.此外,我在较小的空间域(但超过2920时间步长)上运行相同的确切代码而没有错误.
% Clear all variables, initialize counter, indexed by timestep
clc;
clear all;
rain = NaN(1152,241,319);
Clus = NaN(1152,241,319);
Areas_Final = NaN(500,319);
Wattage_Final = NaN(500,319);
Cluster_size = …Run Code Online (Sandbox Code Playgroud)