c = str2cell(v)
c = str2cell(v,delim[s])
creates a cell array C from input vector V.
places segments of V seperated by delimiter
DELIM into separate cells of C.
see also: CELLSTR
v : a string/vector of a ML supported data class
delim : array of delimiter[s] [def: isspace]
other [1 2 pi]
an input matrix (NxM) will be turned into a
1x(N*M) column vector WITHOUT warning!
s='this is a ;;; test string; +-0 ;;;_;;; for; +;+ fun;';
d=[pi pi 1 2 inf 4 5 6 nan 78 pi];
c=str2cell(d,[nan pi 5 inf])
[1x2 double] % = 1 2
us (2021). str2cell: a pedestrian cell creator (https://www.mathworks.com/matlabcentral/fileexchange/4247-str2cell-a-pedestrian-cell-creator), MATLAB Central File Exchange. Retrieved .
Thank you a lot !! this is very very much help for my source coding ~!
Thank you very much!!!!!!!
i needded it urgently thank u!!!!!!!!!!
A nice function.
Excellent, exactly what I needed!
This is a good program! I needed this today and found it almost instantly here! Thanks Urs (us) Schwarz.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!