Unable to write charcters into excel.

I am trying to write characters into excel using xlswrite but the output file has ascii values of those chraachters instead of the charachters themselves.

 Accepted Answer

create a cell array to hold the characters .
Note that if you are not using Windows or you do not have Excel installed then xlswrite is restricted to writing numeric data .

More Answers (1)

xlswrite('sample.xls','a b c') % doesn‘t a string work?

2 Comments

I am not giving string like this. I assign first. Like,
apx(1) = 'x'
post the entire datas that you want to export

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!