How do you use strsplit
3 views (last 30 days)
Show older comments
I need to use strsplit to transform txt data into a cell array but i dont know how to do this
Answers (1)
Image Analyst
on 2 Nov 2022
For example
s = 'I need to use strsplit to transform txt data into a cell array but i dont know how to do this';
words = strsplit(s, ' ')
0 Comments
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!