matlab function でdo while文を実装する方法はありますか?

 Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 9 Nov. 2020

1 Stimme

do while is not directly supported in MATLAB. Here is an alternate way
while 1
% code
if ~condition
break
end
end

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!