4.0

4.0 | 1 rating Rate this file 81 downloads (last 30 days) File Size: 6.06 KB File ID: #24100

NMEA 0180 Sentence Reader

by Adam Leadbetter

 

13 May 2009 (Updated 14 May 2009)

No BSD License  

Reads a NMEA 0183 sentence into a Matlab structure.

Download Now | Watch this File

File Information
Description

Reads a NMEA 0183 (National Marine Electronics Association) sentence (or string) into a Matlab structure.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
13 May 2009 Gary

That's "NMEA 0183", not "NMEA 1803"

13 Nov 2009 Febri Iswanto

Hi Adam,

I want to use your code to read NMEA sentence into matlab structure.
Could you explain how to use it, especially the input & the output data format?

Thanks before.

Febri

22 Dec 2009 Adam Leadbetter

Hi Febri,

Sorry for a slow reply

As per the help file:

The input is a Matlab string, as output by an NMEA instrument.
Currently I have implemented $GPGGA, $GPVTG, $GPZDA and $SDDBS stings.

You will get back a structure with different values (as described in the help file), and can return an error code for code diagnostics.

Any more questions, fell free to ask,

Adam

03 Feb 2010 Kevin Delaney

Nicely done! Just what I needed.

Please login to add a comment or rating.
Updates
14 May 2009

Changed comments to reflect fact that this should read NMEA 0183, not NMEA 1803.

Tag Activity for this File
Tag Applied By Date/Time
data import Adam Leadbetter 13 May 2009 09:23:46
earth science Adam Leadbetter 13 May 2009 09:23:46
gps Adam Leadbetter 13 May 2009 09:23:46
nmea Adam Leadbetter 13 May 2009 09:23:46
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com