How to get data from CSV file to Table

69 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2017 年 7 月 12 日
回答済み: MathWorks Support Team 2017 年 7 月 24 日
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? 

採用された回答

MathWorks Support Team
MathWorks Support Team 2017 年 7 月 12 日
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 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by