MATLAB Answers

0

Can MATLAB convert text file to RPC III format ?

Asked by farzad on 31 Jul 2019
Latest activity Edited by 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

I do not see one at the moment. I do find a Python library that you could call from MATLAB.
Thank you !! you are right !! I feel it only reads the RPC files , not ?

Sign in to comment.

1 Answer

Answer by Guillaume
on 31 Jul 2019
Edited by 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
I've fixed the link, a comma had mistakenly been added to the end of the url.
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.
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.