how to read a gps Rinex observation and navigation files in matlab directly
52 ビュー (過去 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.
1 件のコメント
Markandeya Janaswamy
2023 年 3 月 1 日
編集済み: Markandeya Janaswamy
2023 年 8 月 21 日
the function rinexread meets your needs. And it is available from R2022a onwards in Navigation Toolbox.
回答 (4 件)
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.
0 件のコメント
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/751874/image.png)
3 件のコメント
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
2021 年 9 月 30 日
Thank you I will see if I can modify the code for the latest RINEX versions.
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
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 Center および File Exchange で Testing Frameworks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!