Loading a .csv into a script
古いコメントを表示
For a project, I have been given a script that requires I load a .csv file into in order for me to run it.
fid = fopen(csv_filename); line = fgetl(fid); n = 0;
I'm new to programming in general and don't know whether I am supposed to import via the command window or actually type the file name into the script and run.
採用された回答
その他の回答 (1 件)
José-Luis
2014 年 10 月 10 日
Please read the documentation. The function csvread() does what you want.
doc csvread
カテゴリ
ヘルプ センター および File Exchange で Large Files and Big Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!