MATLAB Answers

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

211 views (last 30 days)
Mohammed  Yousuf
Mohammed Yousuf on 14 Dec 2016
Commented: Imtiaz nabi on 30 Sep 2021 at 5:40
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.

Answers (4)

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.

Imtiaz nabi
Imtiaz nabi on 28 Sep 2021 at 10:38
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.
Imtiaz nabi
Imtiaz nabi on 30 Sep 2021 at 5:40
Thank you I will see if I can modify the code for the latest RINEX versions.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!