how can i stop this while loop? it doesn;t finish
조회 수: 2 (최근 30일)
이전 댓글 표시
while 1
sim(mdl);
if out.soc_fin(end)-soc_target <= 1.5
break
end
on_line = on_line + 1000;
end
the mdl is simulink that calculate soc,
although the SOC reach the if target, it doesn't finish and SOC is going down,
please help me
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!