Massive CSV file into Matlab

前端 未结 3 629
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 00:18

I have a CSV file 1.6 GB large, that I need to feed into matlab. I will have to do this frequently and I need it to run quickly. The file is of the form:

201         


        
3条回答
  •  长情又很酷
    2021-01-15 00:41

    Consider using a binary file format. Binary files are much smaller and don't need to be converted by MATLAB into the binary format. Hence they are much faster to read and write. They may also be more accurate (precision may be higher).

    http://www.mathworks.com.au/help/matlab/ref/fread.html

提交回复
热议问题