How can I convert .rpt file to .txt file ?

Hello,
I want to convert .rpt file to .txt file. This .rpt file has data which are needed read by user. This text file shall be readable, for example Excel. What should I apply with which command?

9 Commenti

You need to describe your file structure, and the structure of the text file. The txt extension doesn't really mean anything other than that it suggests the file probably does not contain a raw binary stream.
This might be as simple as changing the extension, or require a lot of parsing. With the information you provided there is no way to tell.
Structure may choosed such as .xls and .xlsx.
And what is your question?
There are .rpt format data taken from a camera. I want to read them , how to apply conversion in the form of text ?
I don't know the format of that file type. You don't describe it, and you haven't attached an example with a method of reading that file. How are we supposed to help you?
.rpt, .txt, .xlsx are just file extensions that give hint as to what may be in the file. Any program is free to use whatever extension it wants. .xlsx is typically used by excel to store its data, and I'm not aware of any other program that uses this extension, but .txt is used by many programs. It usually hints at the file containing text only but tells you absolutely nothing about what and how the text is stored (it could be ASCII, UTF (8 or 16 or 32), EBCDIC, Shift-JIS, or one you invent).
As for .rpt, it is uncommon enough that we have no idea what is in the file. matlab used to generate .rpt files for its report generation template but you say your .rpt files are images (videos?) taken from a camera. Without more information (vendor? link to file detailing the format?), we can't even tell you how to read that in matlab.
Note that images, text, and excel spreadsheet are completely different things, so asking to convert one to the other doesn't make much sense, regardless of what file extension is used.
Sorry for the mistake. I have a spelling error. I wrote ".rpt file", but I mean ".rtp file".
You can check screen capture I added. I want to convert these files to excel format.
ce8c0c06-7da6-4540-9437-63934fdd573b.jpg
Rtp files are Monaco Treatment Planning files. They would not likely have names similar to what you list.
I found only vague material about RTP files. We would need a sample file to examine.
https://www.mathworks.com/matlabcentral/answers/278287-how-to-read-file-obtained-from-treatment-planning-system-tps-the-file-is-in-format-of-rtp
Guillaume
Guillaume il 25 Lug 2019
Modificato: Guillaume il 25 Lug 2019
Again, the extension of the file doesn't tell you enough about what the file contains. Walter has found a program that uses the rtp extension, I've found two others. None of these have anything to do with images.
We need to know which program created these files and we need access to its documentation. Otherwise, the answer is: they can't be opened in matlab.

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Richiesto:

il 19 Lug 2019

Modificato:

il 25 Lug 2019

Community Treasure Hunt

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

Start Hunting!

Translated by