Looping through times, stop once I reach a certain number

조회 수: 8 (최근 30일)
Sam Smith
Sam Smith 2018년 12월 4일
답변: Cris LaPierre 2018년 12월 4일
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?

채택된 답변

Cris LaPierre
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개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by