How to extract specific data from file extension TRO file?
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi there, I have more than hundreds of TRO files (e.g., COD20342.TRO) which downloaded from 'ftp.aiub.unibe.ch/CODE/'. I need to process specific parameters (e.g., TROTOT) from each TRO file.
In order to extract TROTOT, I've tried to convert TRO file to .xlsx file or .mat file. However, I am not able to open either of them. Can anyone help me to address it? Thanks in advance.
0 commentaires
Réponse acceptée
Rik
le 3 Déc 2020
You could use something like readtable to load your file to a table. If that doesn't work you will have to process each line separately, which you can do easily once you have read your file to a string vector with readlines (since R2020b), or to a cellstr with readfile (which you can get from the FEX or (with R2017a or later) through the AddOn-manager).
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Language Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!