I want to use a do while loop in Matlab:
I am currently using this code, but I don't think that I am doing it right:
flag2=true;
while (flag2)
% (I write the program here)
for abc = 1:3
if abs(error(abc)) < errorTreshold
flag2=false;
break
end
end
end