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 Exchange에서 Tables에 대해 자세히 알아보기

제품

릴리스

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