How do you use strsplit
Show older comments
I need to use strsplit to transform txt data into a cell array but i dont know how to do this
2 Comments
KSSV
on 2 Nov 2022
Show us your text.
Answers (1)
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, ' ')
Categories
Find more on Cell Arrays 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!