Is it possible to segmentize the data ?

1 回表示 (過去 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 Center および File ExchangeData Import and Export についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by