Hello,
I'm trying to generate the following function:
function K = Table(Is,Imax,Phiref,Phi)K=0;Sa=0;Sb=0;Sc=0;if Phi<0.98*Phiref if Is<Imax+0.5 Sa=0; Sb=1; Sc=1; else Sa=0; Sb=0; Sc=0; endelse K=1;end
Once that K=1, it must keep this value (1) during the rest of execution no matter the conditions in the function.
Thanks
Best Answer