Exit code from program
Ältere Kommentare anzeigen
What is the code that terminates the program and stop it?
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 25 Dez. 2016
need_to_finish = false;
while ( )
while ( )
if ( )
% statements
%increment counter
break
else
% here i want to break out without return to any while
above(finish program)
need_to_finish = true;
end
if need_to_finish
break;
end
end
if need_to_finish
break;
end
%%increment counter
end
1 Kommentar
mikel ku
am 25 Dez. 2016
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!