How to read a txt file with comma, text and numbers in matlab, and export the data

8 views (last 30 days)
The txt file I exported from the analysis software contains commas and text and numbers (as shown in the figure below). This prevents me from directly using load data
The above txt file can be imported into excel using [Data Analysis Wizard] to split it into multiple cells, but I have thousands of these files, I can’t extract data from excel one by one, I want to use more automated Way to extract.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Oct 2021

Sign in to comment.

More Answers (1)

Rik on 27 Oct 2021
doc csvread

Community Treasure Hunt

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

Start Hunting!