Reading xls with special characters.

3 vues (au cours des 30 derniers jours)
Bíró
Bíró le 17 Août 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

Réponses (1)

José-Luis
José-Luis le 17 Août 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!

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by