Borrar filtros
Borrar filtros

Opening large files in Matlab

39 visualizaciones (últimos 30 días)
Ripul Dutt
Ripul Dutt el 24 de Ag. de 2017
Respondida: Ripul Dutt el 28 de Ag. de 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 ?

Respuesta aceptada

Steven Lord
Steven Lord el 24 de Ag. de 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 comentarios
Ripul Dutt
Ripul Dutt el 24 de Ag. de 2017
Editada: Ripul Dutt el 24 de Ag. de 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 el 24 de Ag. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Ripul Dutt
Ripul Dutt el 28 de Ag. de 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

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by