Filter löschen
Filter löschen

Opening large files in Matlab

39 Ansichten (letzte 30 Tage)
Ripul Dutt
Ripul Dutt am 24 Aug. 2017
Beantwortet: Ripul Dutt am 28 Aug. 2017
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 ?

Akzeptierte Antwort

Steven Lord
Steven Lord am 24 Aug. 2017
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 Kommentare
Ripul Dutt
Ripul Dutt am 24 Aug. 2017
Bearbeitet: Ripul Dutt am 24 Aug. 2017
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 am 24 Aug. 2017
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Ripul Dutt
Ripul Dutt am 28 Aug. 2017
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

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by