cell2str

Convert a 2-D cell array of strings to a string in MATLAB syntax.
12.5K 次下载
更新时间 2007/2/20

查看许可证

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

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

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.