MATLAb 提示The expression to the left of the equals sign is not a valid target for an assignment.clearclear[NUM,TXT,RAW]=xlsread('D:\123.xls');n=2[a,b]=size(RAW) A(1,:)=RAW(1,:)for i=1:bif RAW(1,i)='电压等级' %提示这一行有问题,for j=1:a
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/30 13:20:12
MATLAb 提示The expression to the left of the equals sign is not a valid target for an assignment.clearclear[NUM,TXT,RAW]=xlsread('D:\123.xls');n=2[a,b]=size(RAW) A(1,:)=RAW(1,:)for i=1:bif RAW(1,i)='电压等级' %提示这一行有问题,for j=1:a
MATLAb 提示The expression to the left of the equals sign is not a valid target for an assignment.
clear
clear
[NUM,TXT,RAW]=xlsread('D:\123.xls');
n=2
[a,b]=size(RAW)
A(1,:)=RAW(1,:)
for i=1:b
if RAW(1,i)='电压等级' %提示这一行有问题,
for j=1:a
if RAW(j,i)='交流10kV'
n=n+1
end
end
end
end
MATLAb 提示The expression to the left of the equals sign is not a valid target for an assignment.clearclear[NUM,TXT,RAW]=xlsread('D:\123.xls');n=2[a,b]=size(RAW) A(1,:)=RAW(1,:)for i=1:bif RAW(1,i)='电压等级' %提示这一行有问题,for j=1:a
if RAW(1,i)='电压等级' %提示这一行有问题,求解答
你不觉得少了个等号,变成赋值了吗?
if RAW(1,i)=='电压等级' %提示这一行有问题,求解答