warning of encoding is shown when trying to read text file

3 次查看(过去 30 天)
while using the function fopen and textscan for text file i get this warning:
*Warning: The encoding 'windows-1255' is not supported.
See the documentation for FOPEN.
> In txt2mat at 16
> In Inversion at 11*
don't understand this error and what am i doing wrong, but i do get unexpected resaults.
  2 个评论
Geoff Hayes
Geoff Hayes 2014-12-27
Kobi - rather than providing links to your files, please just attach them to your post using the paperclip button.
I glanced at your txt2mat function and noticed that the first two lines open the same file using fopen. Why are you doing this and trying to read the data using two different formats?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by