Skip to main content Skip to secondary navigation

Stanford GPS/GNSS Matlab Platform

Main content start

Stanford GPS/GNSS Matlab is an integrated research platform for utilizing numerous positioning databases. It is intended to function as a platform providing universal access to various formats of GPS/GNSS data such as NSTB, NMEA, and RINEX.

Example databases include the NSTB stations that collect GPS information continuously in tens of sites and web-available and open to public.

Downloading an SGMP Overview Presentation and the SGMP ZIP Archive

The archive contains everything you will need to learn about and use SGMP. 

When you double-click on the file icon to uncompress the archive, you will find an SGMPrelease folder containing a few directories, including document.  Within the document folder, there are a few helpful files, including quickstart and userguide.

Note: This archive is preliminary;  improved versions will be forthcoming.

Getting Started with SGMP

The best way to start is to use the quickstart guide or to follow the steps below:

  1. Double-click on the file icon to uncompress the archive. An SGMPRelease foler will appear on your computer's hard drive in the same location as the zip archive file.

  2. Download Data Files

    • In your web browser, navigate to

    • Download and unzip NSTB files

    • Move the unzipped NSTB files to the ntsb folder, nested inside the SGMPrelease folder at this location:
      /SGMPrelease/measurement interface/data/nstb/

  3. Parse the Data Files

    • Start Matlab and set paths for all directories in SGMPrelease.

    • Inside the SGMP folder, go to the measurement interface subfolder at this location: 

    • Execute batchparseNSTB.m
      (If a status bar pops out, it's working!)

  4. Positioning with SGMP File

    • Go to the simulator folder, nested within the SGMPrelease folder at this location:

    • Execute batchPosfixSGMP.m
      (If a position fix result pops up, it's all done!)