Separate strings w.r.t to semicolon
조회 수: 6 (최근 30일)
이전 댓글 표시
i have a string like below in one cell(one row & one column)
a;b;c;d;f;e;g;t;y;s
i would like to separate in to individual cells with reference as ;
댓글 수: 0
채택된 답변
추가 답변 (1개)
Sachin Ganjare
2012년 10월 23일
str = 'a;b;c;d;f;e;g;t;y;s';
Out = strread(str,'%s','delimiter',';');
Hope it helps!!!
댓글 수: 2
Jan
2012년 11월 27일
Unfortunately STRREAD is deprecated and will vanish in a future Matlab release. I cannot imagine, why removing such important functions is helpful for anything.
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!