I am using the Import Data tool that is available on the Home tab to import csv files - 1200 rows with 35 columns - all numeric with .000 decimals. Matlab imports the file but it is very slow. I'd like to speed it up. Any ideas?

4 ビュー (過去 30 日間)
I am importing csv files - using 2012 and 2013 version of Matlab. The files import slowly using the import data tool off the Home tab. Any idea how I can speed it up? My files are single sheet cdv with 1200 rows of ~35 columns - numeric data carried to .000. Thanks!
  2 件のコメント
per isakson
per isakson 2014 年 3 月 28 日
"single sheet cdv " what's that?
Star Strider
Star Strider 2014 年 3 月 28 日
I believe ‘CDV Comma Delimited Value’, likely the same as CSV.

サインインしてコメントする。

回答 (2 件)

per isakson
per isakson 2014 年 3 月 28 日
If it's pure numerical data try
M = dlmread(filename, delimiter)
and
S = load(filename,'-ascii')

Image Analyst
Image Analyst 2014 年 3 月 28 日
編集済み: Image Analyst 2014 年 3 月 28 日
Have you tried readtable()?
t = readtable(fullFileName);
Requires 2013b or later I believe.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by