Can MATLAB convert text file to RPC III format ?

23 views (last 30 days)
Hi all
is there a toolbox in MATLAB to convert txt or csv or xlsx format to RPC III file format ?
  2 Comments
Walter Roberson
Walter Roberson on 31 Jul 2019
Edited: Walter Roberson on 31 Jul 2019
I do not see one at the moment. I do find a Python library that you could call from MATLAB.
farzad
farzad on 31 Jul 2019
Thank you !! you are right !! I feel it only reads the RPC files , not ?

Sign in to comment.

Accepted Answer

Guillaume
Guillaume on 31 Jul 2019
Edited: Guillaume on 31 Jul 2019
If you're talking about this format: https://www.mts.com/cs/groups/public/documents/library/mts_007569.pdf, then I don't see how you could have a general converter from any of the format you mention. The RPCIII format is very specifically tailored to certain type of data whereas you could have an excel file of all your friends birthdays. One couldn't be converted into the other.
Since the format is fully specified in the above link, you could write your own converter to convert whatever data you have, but it would be specific to a particular text or excel formatting.
  4 Comments
farzad
farzad on 31 Jul 2019
I know that file, the link I gave you is the python code. It's a big work and not easy to do with that explanation. Maybe debugging bow is the priority for me.
Guillaume
Guillaume on 31 Jul 2019
Edited: Guillaume on 31 Jul 2019
As far as I can tell, that python code was a work in progress and at a very early stage. Considering it's not been updated since 2009, you can consider that it's been left unfinished and I think you'd be wasting your time with it.
I'm afraid, if you want to write RPC III files, you'll have to implement the encoding yourself from the reference document. If it's too much for you and yet still essential for your work, I'm afraid you'll have to pay somebody to do it for you. Note that here is not the place to recruit contractors.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import and Export in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!