Get the last for digits as the time this message was sent
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
flashpode
am 14 Sep. 2021
Kommentiert: flashpode
am 14 Sep. 2021
Hey, I have to get the time that each message was send. The message is like this:ç
"!AIVDM,1,1,,A,13cut>1001P:3LRGa`P@jip400S<,0*410002"
and the las for numbers are minute and second, that was sent at 00 min 02 sec.
i have many of these messages and I have to know when they were sent.
Thank you
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 14 Sep. 2021
S = "!AIVDM,1,1,,A,13cut>1001P:3LRGa`P@jip400S<,0*410002"
regexp(S, '\d{4}$', 'match', 'lineanchors')
0 Kommentare
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!