这是我的最佳猜测。
为年= 2009:2017
year_index = - 2008变量名中没有空格
Year_struct = load([“D: \ DataStation \人力资源”num2str(年)“\垫\ station.mat”]);
为站= 1:30
eval ([“station_double = year_struct.station_”num2str(站),“;”]);
Station_double = Station_double (1:8760,:);
Data (:,:, station, year_index) = station_double;
结束
结束