Aerodata=Aerofoil.(Profoil_list{2,2}).data; %从数据结构中寻找制定数据
if isempty(Aerodata(:,4)) %判断第四列数据是否为空,因为有的数据为空,有的 不为空
Aerodata(:,4)=0.1; %如果为空就赋值,避免接下来的处理出错
end
但是报错
Attempted to access Aerodata(:,4); index out of bounds because size(Aerodata)=[50,3].
Error in Aerodata_plot (line 60)
if isempty(Aerodata(:,4))