Info
This question is closed. Reopen it to edit or answer.
How can I loop this
1 view (last 30 days)
Show older comments
I want to create a loop for when for all the messages that are in the variable of duration are within one rank that is going from one number to another. Let me explain with an example
my variable of duration goes from 00:00:00 to 23:59:59 I want to create a loop that runs my code when the time of the messages are first from time 00:00:00 to 00:10:00. Then from 00:10:00 to 00:20:00 (10 mins each time) till it reaches from 23:50:00 to 23:59:59
2 Comments
Benjamin Thompson
on 1 Feb 2022
You want to call a function every 10 minutes? Or are you reading in a file containing message data with time stamps and after every 10 minutes of time in the data you want to call a function? If you are processing messages from a data file please post a sample of the file.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!