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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Dic. de 2018

0 votos

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 .

Más respuestas (1)

madhan ravi
madhan ravi el 19 de Dic. de 2018
xlswrite('sample.xls','a b c') % doesn‘t a string work?

2 comentarios

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

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 19 de Dic. de 2018

Respondida:

el 19 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by