Effacer les filtres
Effacer les filtres

Tables automatic import from txt

2 vues (au cours des 30 derniers jours)
Ludovico Soldati
Ludovico Soldati le 23 Nov 2018
Hi everyone,
I have a file .txt with several tables (written like columns of numbers separated by spaces) and phrases that separate them and the tables have different dimensions. I need to import them separately in Matlab using a script that reads the .txt file and automatically recognize the tables and import them, or that imports everything and then automatically recognizes the matrixes I need.
Someone knows how can I do it?

Réponse acceptée

madhan ravi
madhan ravi le 23 Nov 2018
use readtable() to read the text file

Plus de réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by