warning of encoding is shown when trying to read text file

3 views (last 30 days)
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 Comments
Geoff Hayes
Geoff Hayes on 27 Dec 2014
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?

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!