How to upload a huge text file of (20 lack *100 ) size matrix into matlab

i have a 2000000 (20 lack) row and 100 collumn matrix text file. But when i try to upload it into the matlab it doesnt show the values in the upload collumn(shown in black circle). So i can not upload the data.
The same thing work well when i have around 1 lack*100 sized matrix.
can someone help me how to upload such a big text text file into matlab (1 GB)

 採用された回答

Christiaan
Christiaan 2015 年 6 月 17 日

0 投票

Dear Navan,
You could have a look at this documentation website of Mathworks, where many examples can be found to upload large data files. One of the functions is " datastore" which is may be a good use for you.
Good luck! Christiaan

5 件のコメント

navan
navan 2015 年 6 月 18 日
編集済み: navan 2015 年 6 月 18 日
bold Dear Christiaan,
Thanks for time and effort. But the problem not solved. I have used the code
ds=datastore('D:\myfile\BHG.txt');
to upload my huge text file named BHG.text into matlab. But it shows following error
kindly help me what to do
Walter Roberson
Walter Roberson 2015 年 6 月 18 日
datastore was introduced in R2014b. Which release are you using?
navan
navan 2015 年 6 月 18 日
I am using 2011. that might be an issue. I will check and revert
navan
navan 2015 年 6 月 19 日
I am working with 2014 b version of matlab and now i could use the function datastore. i could access to file but i could not find out my big data.
As i have shown in 2 red circles 1) i am expecting a double numberic array of 50000*100 matrix like the small red circle 2) By using the code datastore ds=datastore('D:\nnn.txt'); i am getting many files that are there in the bigger red circle. But no files for 50000*100 matrix.
Pls help
navan
navan 2015 年 6 月 20 日
Dear Christiaan and Roberson,
Thanks alot for your time and effort. It will be great if you help me with above question

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLarge Files and Big Data についてさらに検索

質問済み:

2015 年 6 月 17 日

コメント済み:

2015 年 6 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by