Looping through times, stop once I reach a certain number
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a list of times in a column, in HH:MM:SS. I want to go through each of these times, after converting them to seconds, and stop once I reach a certain number, say 3600. How do I go about doing this?
댓글 수: 0
채택된 답변
Cris LaPierre
2018년 12월 4일
Set up a conditional statement that will execute a break statement if the condition is met (e.g. number == 3600).
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!