How to merge cells together?
Show older comments
How do I merge cells together and separate each cell with a ';'?
Accepted Answer
More Answers (1)
Jos (10584)
on 13 May 2014
Another option using STRCAT
A = {'apple.doc', 'apple.xlsx', 'apple.csv', 'banana.doc', 'banana.xlsx'}
B = strcat(A,';')
C = [B{:}]
Categories
Find more on Logical 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!