B = CELL2STR(C) returns a B such that C = EVAL(B).
This is the same as NUM2STR, except it works on cell arrays that contain strings, numeric arrays and other cell arrays. C must be a 2D cell array. B will be a string that can be evaluated. to return a cell array identical (up to numerical accuracy) to C.
Optional input arguments:
B = CELL2STR(C,N) uses N digits of precision for numeric arrays. N defaults to 15.
B = CELL2STR(C,'class') and B = CELL2STR(C,N,'class') also include the class string for the numeric arrays.
인용 양식
Cris Luengo (2025). cell2str (https://www.mathworks.com/matlabcentral/fileexchange/28462-cell2str), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2009b
모든 릴리스와 호환
플랫폼 호환성
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!