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?
조회 수: 2 (최근 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
답변 (2개)
per isakson
2014년 3월 28일
If it's pure numerical data try
M = dlmread(filename, delimiter)
and
S = load(filename,'-ascii')
댓글 수: 0
Image Analyst
2014년 3월 28일
편집: Image Analyst
2014년 3월 28일
Have you tried readtable()?
t = readtable(fullFileName);
Requires 2013b or later I believe.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Other Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!