How can I convert .rpt file to .txt file ?
Mostra commenti meno recenti
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
Rik
il 19 Lug 2019
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.
beste caferoglu
il 19 Lug 2019
Rik
il 19 Lug 2019
And what is your question?
beste caferoglu
il 22 Lug 2019
Rik
il 22 Lug 2019
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?
Guillaume
il 22 Lug 2019
.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.
beste caferoglu
il 25 Lug 2019
Walter Roberson
il 25 Lug 2019
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
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.
Risposte (0)
Categorie
Scopri di più su Programmatic Model Editing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
