MATLAB Answers

Can MATLAB convert text file to RPC III format ?

11 views (last 30 days)
farzad
farzad on 31 Jul 2019
Edited: Guillaume on 31 Jul 2019
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
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

Show 1 older comment
Guillaume
Guillaume on 31 Jul 2019
I've fixed the link, a comma had mistakenly been added to the end of the url.
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
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)