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.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Dez. 2018

0 Stimmen

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 .

Weitere Antworten (1)

madhan ravi
madhan ravi am 19 Dez. 2018

0 Stimmen

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

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by