필터 지우기
필터 지우기

unable to import large data txt file due to memory

조회 수: 4 (최근 30일)
Mia Vesterager
Mia Vesterager 2024년 5월 6일
편집: Venkat Siddarth Reddy 2024년 5월 6일
Hi,
I have been struggeling to import the data I need to process in MATLAB. It contains 3 fundamental cycles each of 20 ms, and I just need the last 20 ms. However, MATLAB wil still not allow me to import that data section. I have tried to increase the JAVA Heap size, but still not enough. Is there a way I can process my data without loosing too many valuable data points?
The file is 18.142.928 KB, each variable in the set has 101799346 values. The data goes from 0 to 60 ms, so I guess i only need 2/3 og the dataset and I only need 3 variables. Again, I have tried to just take one variable at at time, but 2/3 of the variable is still too large.

답변 (1개)

Venkat Siddarth Reddy
Venkat Siddarth Reddy 2024년 5월 6일
편집: Venkat Siddarth Reddy 2024년 5월 6일
Hi,
You can try using "datastore," which is designed to store data that is too large to fit into memory. This enables you to read data in smaller portions that fit in memory, i.e., it facilitates the incremental import of data into memory, allowing users to access portions of the data sequentially.
To learn more about datastore, refer to the following documentation:
I hope it helps!

카테고리

Help CenterFile Exchange에서 Datastore에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by