dlmreadall

バージョン 1.0.0.0 (978 Bytes) 作成者: Michael Robbins
Reads delimited file of mixed types.
ダウンロード: 3.5K
更新 2002/12/18

ライセンスがありません

You pass the filename, delimiter (ie. comma), ty is an array of ones(numeric types) and zeros (strings). Range is an optional 1x4 array of row_start, column_start, row_end, column_end. skip_last_delim is optional and will skip the last delimiter in case you produced your csv with a fprintf('%f,',x) statement and have an extra comma on your line.

dlmreadall accepts an array of size 1xN with 1's if the column is numeric and 0's where they are not.

It returns a cellstr populated by the delimited file.

This routine reads line-by-line so the only memory constraints are due to the cellstr, not the file.

引用

Michael Robbins (2024). dlmreadall (https://www.mathworks.com/matlabcentral/fileexchange/2499-dlmreadall), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12.1
すべてのリリースと互換性あり
プラットフォームの互換性
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

Support for single column files added