View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.8 | 4 ratings Rate this file 23 Downloads (last 30 days) File Size: 1.53 KB File ID: #13999 Version: 1.0




19 Feb 2007 (Updated )

Convert a 2-D cell array of strings to a string in MATLAB syntax.

| Watch this File

File Information

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.
cellstr = {'U-234','Th-230'};
cell2str(cellstr) produces the string '{''U-234'',''Th-230'';}'.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
25 Feb 2014 Valentina

Great job! it speeded up my work. Thanks!!

06 Jan 2009 Craig Derian

took some small mods to work for structure dynamic field name creation, but very nice

22 May 2008 Virginia Woods

Works great. Thanks

06 May 2008 Alfredo IƱigo


Contact us