有没有办法执行一段时间?

Sim*_*ity 16 matlab loops do-while

我打算do-while在MATLAB中使用循环.
有没有办法做到这一点?

Abh*_*kur 28

while(true)

%code

    if condition==false
        break; 
    end 
end
Run Code Online (Sandbox Code Playgroud)

  • 那么Matlab在构造时没有正式的做法吗? (3认同)