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

조회 수: 128 (최근 30일)
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.

답변 (4개)

Peter Spanik
Peter Spanik 2020년 12월 15일
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 2016년 12월 14일

Imtiaz nabi
Imtiaz nabi 2021년 9월 28일
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
Walter Roberson
Walter Roberson 2021년 9월 28일
str2num is not returning a scalar. Possibly the text to be converted is blank or has more than one number.
In most cases, str2double should be used if exactly one number is expected.
Imtiaz nabi
Imtiaz nabi 2021년 9월 30일
Thank you I will see if I can modify the code for the latest RINEX versions.

댓글을 달려면 로그인하십시오.


Markandeya Janaswamy
Markandeya Janaswamy 2023년 3월 1일
MATLAB supports reading RINEX data directly into MATLAB from R2022a onwards. Use the function rinexread. See https://mathworks.com/help/nav/ref/rinexread.html
  댓글 수: 2
Aviram Amir
Aviram Amir 2023년 4월 11일
hello, the 'rinexrea' function alowes me to load only rinex version 3 files.
how can i load version 2/2.1?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by