How to read greek characters in a .txt file

2 ビュー (過去 30 日間)
Ivan Mich
Ivan Mich 2020 年 12 月 10 日
コメント済み: Walter Roberson 2020 年 12 月 16 日
What is the command in order to read greek characters in a .txt file via matlab programming?
My file has 3 columns. The first one has names , the 2nd and 3rd have numbers.

回答 (1 件)

Rik
Rik 2020 年 12 月 10 日
You can get my readfile function from the FEX. If you are using R2017a or later, you can also get it through the AddOn-manager.
  10 件のコメント
Ivan Mich
Ivan Mich 2020 年 12 月 16 日
I am sorry command window shows me:
Error using split (line 99)
Element 2 of the text contains 20 delimiters while the previous elements have 19. All elements must
contain the same number of delimiters.
Error in Untitled (line 10)
t=split(t,',');
Walter Roberson
Walter Roberson 2020 年 12 月 16 日
Is it possible that you tried the split() twice ? It should not be able to give that error when the input is a character vector such as the result from readfile(), but it could give that error if the input is the result of a previous split()

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by