lingo 错误11 p/1..40/:y;m(p,p):v,x;endsetsdata:v=@ole('D:\Matlab\juli.xls',h);enddatamin=@sum(m(i,j):v(i,j)*x(i,j));@for(p(i):@sum(p(j):x(i,j))=1);@for(m(i,j):x(i,j)<=y(j));@sum(p:y)=6;@for(m:@bin(x));@for(p:@bin(y));Endv=@ole('D:\Matlab
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 15:03:09
lingo 错误11 p/1..40/:y;m(p,p):v,x;endsetsdata:v=@ole('D:\Matlab\juli.xls',h);enddatamin=@sum(m(i,j):v(i,j)*x(i,j));@for(p(i):@sum(p(j):x(i,j))=1);@for(m(i,j):x(i,j)<=y(j));@sum(p:y)=6;@for(m:@bin(x));@for(p:@bin(y));Endv=@ole('D:\Matlab
lingo 错误11
p/1..40/:y;
m(p,p):v,x;
endsets
data:
v=@ole('D:\Matlab\juli.xls',h);
enddata
min=@sum(m(i,j):v(i,j)*x(i,j));
@for(p(i):@sum(p(j):x(i,j))=1);
@for(m(i,j):x(i,j)<=y(j));
@sum(p:y)=6;
@for(m:@bin(x));
@for(p:@bin(y));
End
v=@ole('D:\Matlab\juli.xls',h);里面的h是和excel里选的数据区域名称一样,请问数据区域怎么选择,是不是没选对啊
lingo 错误11 p/1..40/:y;m(p,p):v,x;endsetsdata:v=@ole('D:\Matlab\juli.xls',h);enddatamin=@sum(m(i,j):v(i,j)*x(i,j));@for(p(i):@sum(p(j):x(i,j))=1);@for(m(i,j):x(i,j)<=y(j));@sum(p:y)=6;@for(m:@bin(x));@for(p:@bin(y));Endv=@ole('D:\Matlab
最前面写sets: 错误提示也没说你@ole有问题啊 有问题要看提示