cell2str

版本 1.1.0.0 (1.7 KB) 作者: Cris Luengo
Convert 2-D cell array into evaluable string
1.1K 次下载
更新时间 2012/7/13

查看许可证

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 (2024). cell2str (https://www.mathworks.com/matlabcentral/fileexchange/28462-cell2str), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Extended to work with cell arrays.

1.0.0.0