cell2str
버전 1.0.0.0 (1.53 KB) 작성자:
Per-Anders Ekstrom
Convert a 2-D cell array of strings to a string in MATLAB syntax.
STR = CELL2STR(CELLSTR) converts the 2-D cell-string CELLSTR to a MATLAB string so that EVAL(STR) produces the original cell-string.
Works as corresponding MAT2STR but for cell array of strings instead of scalar matrices.
Example
cellstr = {'U-234','Th-230'};
cell2str(cellstr) produces the string '{''U-234'',''Th-230'';}'.
인용 양식
Per-Anders Ekstrom (2025). cell2str (https://www.mathworks.com/matlabcentral/fileexchange/13999-cell2str), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- MATLAB > Language Fundamentals > Data Types > Data Type Conversion >
Help Center 및 MATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | Updated bug if any string in cell-string consisted of a '-character. |