Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to import 2gb txt file data into workspace?

1 次查看(过去 30 天)
fang yu
fang yu 2021-4-30
关闭: Stephen23 2021-4-30
how to import 2gb txt file data into workspace?
The txt file has four columns, 8812616 rows , all of which are pure numbers, are 2gb. The content of the file is on the photo.
I try to use textscan but error using textscan.
too many output arguments.
  2 个评论
DGM
DGM 2021-4-30
You'd have to post how you were calling textscan for anyone to know why it was wrong.
Also, ~35 characters x 8.8M lines should be around 300MB (assuming 8-bit encoding). Why is the file ~6x larger than expected? Is that any potential source of problems?

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by