Opening large files in Matlab

조회 수: 10 (최근 30일)
Ripul Dutt
Ripul Dutt 2017년 8월 24일
답변: Ripul Dutt 2017년 8월 28일
Hi, I have a large file (I obtained it as a microsoft access table shortcut type), that I am trying to open with matlab to view the elements of the table, it's a large file so Matlab won't allow me to open it, it says "Cannot display summaries of variables with more than 524288 elements" when I used the load command. Is it possible to access this file on Matlab and use it to separate the data in different bins ?

채택된 답변

Steven Lord
Steven Lord 2017년 8월 24일
The limitation on the maximum number of elements that the Variable Editor can display does not necessarily prevent the data from being loaded. Check your workspace using the whos function and it should be present, assuming you have enough memory to load it.
If you're looking to group or bin your data, see the functions on this documentation page.
If your data is too big to display and too big to load into memory in one chunk, see the techniques described on the pages linked here.
  댓글 수: 2
Ripul Dutt
Ripul Dutt 2017년 8월 24일
편집: Ripul Dutt 2017년 8월 24일
Thanks, i used the whos functions, turns out the file I am trying to load is essentially
Size 1X1 Bytes 1861493760 Class Struct
This is supposed to contain topograhic data, I am quite not sure how to deal with this, I am very new to MATLAB
Steven Lord
Steven Lord 2017년 8월 24일
A struct array stores data in fields, somewhat similar conceptually to folders on a computer's hard drive. Take a look at this documentation page for a basic introduction to how to access data in a struct array.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ripul Dutt
Ripul Dutt 2017년 8월 28일
Hey, I've been able to work with the file, I had to extract data for every hour,and it was not possible to open that file in excel for 560 hours, since that would make it a 3D file, for everyone else's reference! Thanks for your help Steve -Ripul

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by