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?

 採用された回答

madhan ravi
madhan ravi 2018 年 11 月 23 日

0 投票

use readtable() to read the text file

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

製品

リリース

R2018b

質問済み:

2018 年 11 月 23 日

回答済み:

2018 年 11 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by