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?

Original source