csvwriteFast

バージョン 1.0.0.0 (316 Bytes) 作成者: Sergey
fast writing of numerical data / matrices into a csv / text file
ダウンロード: 642
更新 2008/10/3

ライセンスがありません

usage:
csvwriteFast( filename, values, format )

speed:
>> r = randn( 1e5, 2 );
>> tic, csvwrite( 'r.csv', r ), toc
Elapsed time is 3.945658 seconds.
>> tic, csvwriteFast( 'r.csv', r, '%f,%f' ), toc
Elapsed time is 0.302832 seconds.

another advantage is ability to specify the numerical format for each column separately

i've noticed that this approach is more significant on matrices with low number of columns. For example, it writes matrix with 10 columns merely 3 times faster than csvwrite, while in the example above (2 columns) this factor is over 13.

引用

Sergey (2024). csvwriteFast (https://www.mathworks.com/matlabcentral/fileexchange/21645-csvwritefast), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersText Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

updating the help