MATLAB Answers


warning of encoding is shown when trying to read text file

Asked by Kobi
on 22 Dec 2014
Latest activity Commented on by Geoff Hayes
on 27 Dec 2014
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.


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.

0 Answers