I'm getting error code 1048 but my variables names are not reserved words. I have also replaced my matscript.dll with the new one provided in the KnowledgeBase document 2C1AH6DM.
What else could be going wrong? The script is running without any problems in Matlab itself.
Here is the very simple scipt.
for k=1:6
f(k,:)=pow(2,((n(k,:)-9)/2))*13,75;
fa(k)=98;
fb(k)=196;
fc(ki)=392;
Va(i)=0;
Vb(i)=5;
Vc(i)=10;
A=[fa(k)^2,fa(k),1;
fb(k)^2,fb(k),1;
fc(k)^2,fc(k),1];
B=inv(A)* [Va(k);Vb(k);Vc(k)];
s(k,:) = B(1)*f(k,:).^2 + B(2)*f(k,:)+B(3);
end
Does anyone have a suggestion?
Thanks in advance!
Georg