How to import csv file that contains strings and numeric values?

I have a csv file (that looks like the image attached). I am trying to import this csv file. When I use importdata, I am getting a 1x1 struct. The 1x1 struct contains 2 fields, data (200x3 double) and textdata (201x5 cell) which is not what I am hoping for. Can someone please help me import the csv file.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Nov. 2021

0 Stimmen

readtable() unless you are using a quite old MATLAB

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by