How do you use strsplit
2 次查看(过去 30 天)
显示 更早的评论
I need to use strsplit to transform txt data into a cell array but i dont know how to do this
回答(1 个)
Image Analyst
2022-11-2
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!