How to merge cells together?
显示 更早的评论
How do I merge cells together and separate each cell with a ';'?
采纳的回答
更多回答(1 个)
Jos (10584)
2014-5-13
Another option using STRCAT
A = {'apple.doc', 'apple.xlsx', 'apple.csv', 'banana.doc', 'banana.xlsx'}
B = strcat(A,';')
C = [B{:}]
类别
在 帮助中心 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!