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.

 Réponse acceptée

Walter Roberson
Walter Roberson le 19 Déc 2018

0 votes

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 .

Plus de réponses (1)

madhan ravi
madhan ravi le 19 Déc 2018
xlswrite('sample.xls','a b c') % doesn‘t a string work?

2 commentaires

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by