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 (2024). Split delimiter separated strings into a matrix (https://www.mathworks.com/matlabcentral/fileexchange/4615-split-delimiter-separated-strings-into-a-matrix), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Numeric Types에 대해 자세히 알아보기
도움

줌: rsplit, latexfigure

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

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