function y=fitfund1(x) %for this we give two values of x(1) and x(2)
sys= xlsread('IEEEE1.xlsx'); %this is excel file
sys(x(2),7)=sys(x(2),7)-x(1);
sys %this updated value excel file with x(1) and x(2)
lflow1 % this is mfile which run with this "system' excel sheet
end
现在 lflow1 是 mfile ,它是使用更新的系统Excel工作表运行的
frombus = sys(:,1)';
tobus = sys(:,3)' ;
错误:运行时此代码sys未知此值