where should i put endwhile in matlab code example
Example: break loop for matlab
for i=1:10
limit=5;
if i > limit
break
end
end
for i=1:10
limit=5;
if i > limit
break
end
end