nmea parsing, comma seperated text and data line to space segmented reading for matlab.
1 回表示 (過去 30 日間)
古いコメントを表示
Hi.
-i have been searching for a way to get nmea data into matlab but have not found an good way yet.
-all i wish to do is to load a .log file conataing i.e:
$INGGA,185937.99,5936.222447,N,00545.775642,E,2,08,1.1,32.60,M,43.70,M,6.8,0580*61
$INVTG,177.36,T,,M,0.0,N,0.0,K,A*29
$GPGST,185937.99,1.19,1.057,0.719,166,1.041,0.742,1.93*42
and then create on matrix file for each nmea type, so all GPGST would be would be found in one matrix file, and then separate them all into there one colum based upon the , (comma) spacing for the nmea line.
thanks for all answers.
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 12 月 22 日
I don't know what nmea or GPGST is, but if your data is so customized that it can't be read by the typical built-in functions like csvread, dlmread, textscan, etc., then you can always use fgetl() and sscanf() to extract your values.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Export についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!