Is there a way to perform a do-while?
do-while, loops, matlab
Solution
while(true)
%code
if condition==false
break;
end
end
Problem
I'm planning to use a `do-while` loop in MATLAB. Is there a way to do that?
do-while, loops, matlab
while(true)
%code
if condition==false
break;
end
end
I'm planning to use a `do-while` loop in MATLAB. Is there a way to do that?