how to read a gps Rinex observation and navigation files in matlab directly

139 views (last 30 days)
Hey guyz please help me out, i am trying to read a Rinex file (both observation and Navigation) for one of my gps receiver, i want to read it in MATLAB version r2009a.
  1 Comment
Markandeya Janaswamy
Markandeya Janaswamy on 1 Mar 2023 at 6:18
Edited: Markandeya Janaswamy on 1 Mar 2023 at 6:19
the function rinexread meets your needs. But it is available from R2022a onwards in Navigation Toolbox.

Sign in to comment.

Answers (5)

Peter Spanik
Peter Spanik on 15 Dec 2020
Hello Mohammed,
As far as I know, Matlab does not support reading of RINEX observation/navigation files. I created functions and classes to read RINEX and other GNSS-related files (see GNSS-toolbox). You can load RINEX to Matlab OBSRNX object as following:
addpath(genpath('path_to_GNSS-toolbox/src')); % Add path to toolbox functionality
obs = OBSRNX('your_rinex_filepath');
When the OBSRNX object is created in Matlab you can querry observations and perform slicing as you want. I do not test it under R2009a, but I guess it should work.

José-Luis
José-Luis on 14 Dec 2016

Meysam Mahooti
Meysam Mahooti on 26 May 2021
Edited: Walter Roberson on 2 Sep 2021

Imtiaz nabi
Imtiaz nabi on 28 Sep 2021
Hello, I have downloaded the code and was using it for testing my RINEX navigation and observation files but the function keeps giving me errors.
Can you please guide me what am I doing wrong here?
thank you and please find the attached screen shot to this comment.
  3 Comments

Sign in to comment.


Markandeya Janaswamy
Markandeya Janaswamy on 1 Mar 2023 at 6:17
MATLAB supports reading RINEX data directly into MATLAB from R2022a onwards. Use the function rinexread. See https://mathworks.com/help/nav/ref/rinexread.html

Community Treasure Hunt

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

Start Hunting!