writing 1*5 char in one cell in excel
Show older comments
i have a problem- i have parameter in matlab called patients = 82x5 type char when each row is like 234t1(has both numbers and a letter)
i want to import it to excel so that each patient name will be in one cell and not 5..( a1 = 234t1, a2 = 234t2,...)
how can i do that?
Accepted Answer
More Answers (1)
John
on 19 Nov 2011
Perhaps the following would work:
xlswrite('test.xls', cellstr(x))
Where "x" is a character array
Categories
Find more on Spreadsheets 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!