Split delimiter separated strings into a matrix

バージョン 1.0.0.0 (2.05 KB) 作成者: Gie Spaepen
Function to split a delimiter separated string into a matrix of doubles.
ダウンロード: 6.4K
更新 2004/3/16

ライセンスの表示

Function: outmatrix = strsplit(inpstr[,delimiter])

Input:
inpstring, this is the input string which is a delimiter separated string: 345.56,376.5,4334.34 .
delimiter, optional if not given, ',' is taken.
outmatrix: if all values in inputstring are numerical a double array is given otherwise a cell array.

引用

Gie Spaepen (2026). Split delimiter separated strings into a matrix (https://jp.mathworks.com/matlabcentral/fileexchange/4615-split-delimiter-separated-strings-into-a-matrix), MATLAB Central File Exchange. に取得済み.

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

ヒントを与えたファイル: rsplit, latexfigure

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

The inputstring could only consist of numerical values, now it can contain strings as well.