Clear Filters
Clear Filters

Why Import Tool can't read csv files?

2 views (last 30 days)
Alexander
Alexander on 2 Jul 2018
Commented: Adam Danz on 3 Jul 2018
Previous versions can read csv files. But the new ones show the error "can't read utf16-LE". But the first line of data is read correctly. The first line:
2016.07.04 00:00,1.11298,1.11333,1.11297,1.11333,7,0
  7 Comments
Alexander
Alexander on 3 Jul 2018
Edited: Alexander on 3 Jul 2018
You didn't write in which program I should open the file.
1) in MatLab - the same error.
2) in Excel. After saving the file size reduced a half, MatLab reads the data.
3) in Notepad. MatLab can't read Unicode (both LE and BE), only ANSI and UTF-8.
Adam Danz
Adam Danz on 3 Jul 2018
I opened the file in Excel, saved as csv, then imported it to Matlab.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!