Reading xls with special characters.

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

回答 (1 件)

José-Luis
José-Luis 2012 年 8 月 17 日

0 投票

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!

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

製品

質問済み:

2012 年 8 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by