How to get data from CSV file to Table
69 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 12 Jul. 2017
Beantwortet: MathWorks Support Team
am 24 Jul. 2017
I have a CSV file and would like to use the data in MATLAB but I am unsure of how to do so. I would like to store the data in a table. How can I do this?
Akzeptierte Antwort
MathWorks Support Team
am 12 Jul. 2017
There are two ways to do this:
1) use the 'readtable' function:
https://www.mathworks.com/help/matlab/ref/readtable.html
2) In the "Home" tab -> Select "Import Data" button -> Select CSV file -> Output Type: "Table" -> Click "Import Selection" button
Both will yield a table in your workspace that you can use within MATLAB.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!