cellmatrix2str & str2cellmatrix
Version 1.0.0.0 (689 Bytes) by
Aman Siddiqi
Parses sentances into cells of individual words, and the reverse
1.2K Downloads
Updated
11 May 2007
No License
cellmatrix2str({'test ' 'me'})
Yields 'test me' as a character string.
It combines all the cells into 1 string
str2cellmatrix('This is a test')
yields a 1x4 cell matrix with each word in a seperate cell. This parses a string into individual cell blocks.
Cite As
Aman Siddiqi (2026). cellmatrix2str & str2cellmatrix (https://uk.mathworks.com/matlabcentral/fileexchange/14952-cellmatrix2str-str2cellmatrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Data Type Conversion >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
Find more on Data Type Conversion in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
