matlab怎么读取多个excel中的第二列并组成矩阵存入新excel中。不知道下面的程序命令错在哪里?求大神指教,万分感谢!
dirname=uigetdir('D:\','excel');
files=dir();
for k = 1:numel(files) % 循环到每一个文件
= xlsread(, 1,'b:b');
|
Error: The expression to the left of the equals sign is not a valid target for an assignment.
data{1}=num(:,1);
data{2}=num(:,6);
xlswrite(filename,A,range)
end |