How can I speed up importing large .d files?
이전 댓글 표시
Hi,
soon I'll have large files, about 50000x6 (more than one of them) and I'll have to work on them several times to plot different stuff. I've realised that "importdata" command is very slow and I've been recommended to use GNUPlot, but I would prefer to stick to MATLAB if possible. So, is there any command to load data to workspace in a faster way? Maybe using .xls instead of .d?
Thanks.
채택된 답변
추가 답변 (1개)
per isakson
2015년 8월 1일
편집: per isakson
2015년 8월 1일
1 개 추천
Does the file consist of header rows followed by data rows, which contains only numerical data? (No string data such as date time data.)
Try txt2mat, by Andres "txt2mat basically is a wrapper for sscanf, it quickly converts ascii files containing m-by-n numeric data, allowing for header lines"
댓글 수: 3
Felix Lauwaert
2015년 8월 1일
per isakson
2015년 8월 1일
Yes, please upload the six row file.
Felix Lauwaert
2015년 8월 1일
카테고리
도움말 센터 및 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!