CELL2STR

CELL2STR converts a cell array of strings into a character array.
3.4K Downloads
Updated 8 Mar 2009

No License

CELL2STR converts a cell array of strings into a character array. The resulting character array is possible by padding the strings in each row with spaces.

Example
str = {'this' 'is' 'a' 'test' 'of' 'cell' '2' 'str'};
cell2str(str)

Cite As

Daniel Claxton (2024). CELL2STR (https://www.mathworks.com/matlabcentral/fileexchange/23229-cell2str), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0