Reading xls with special characters.

3 visualizaciones (últimos 30 días)
Bíró
Bíró el 17 de Ag. de 2012
I want to read an excel sheet what contains texts and numbers, but in the texts there are some special character like: ø
Matlab can't handle that characters during reading that sheet but I really need the original texts (I want to write those in an other txt file).
Is there any solution for this problem? Thanks

Respuestas (1)

José-Luis
José-Luis el 17 de Ag. de 2012
Sounds like you need to change Matlab's character encoding.
help slCharacterEncoding
You probably need to set is as:
%'ISO-8859-1'
selCharacterEncoding('ISO-8859-1')
Cheers!

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by