Is it possible to segmentize the data ?

2 次查看(过去 30 天)
Casey
Casey 2012-9-27
Hi
Is it possible to segmentize the data if in the beginning I use textread the data which is originate from the notepad format.
example of the data:
[Wed Sep 19 12:39:16.438 2012] $GPGGA,094303.70,6909.6349,N,08327.5081,E,1,09,1.2,813721.35,M,-14.40,M,,*74
[Wed Sep 19 12:39:16.516 2012] $GPGSV,3,1,11,04,60,117,45,12,53,237,45,02,47,203,44,25,38,296,44*7C
[Wed Sep 19 12:39:16.594 2012] $GPGSV,3,2,11,10,26,144,44,31,20,344,43,20,18,037,,23,15,061,43*72
[Wed Sep 19 12:39:16.657 2012] $GPGSV,3,3,11,17,14,112,44,29,06,278,,32,02,014,44*4E
I manage to categorised into 2 set of datas, 1 is the [date, time] the other is the long strings of GPGGA and GGGSV. If I want to further categorised the difference of GPGGA and GPGSV, is it I have to use sscanf?
Thanks.
Regards
Casey Liew

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by