| MATLAB Central > MATLAB Newsreader > MAT file size larger than workspace variable size |
|
|
|
Subject: MAT file size larger than workspace variable size From: Tom Date: 13 May, 2011 19:46:06 Message: 1 of 7 |
|
I have MATLAB 2011a. |
|
Subject: MAT file size larger than workspace variable size From: Malcolm Lidierth Date: 13 May, 2011 22:22:02 Message: 2 of 7 |
|
Each element of the cell array has a header that provides details of the struct that it contains: field names, types, size etc. You seem to have more header data than data. |
|
Subject: MAT file size larger than workspace variable size From: Tom Date: 14 May, 2011 05:05:05 Message: 3 of 7 |
|
The cell array has 250 elements. Each struct has roughly 10 fields. 9.5 GB to hold this header information seems a little excessive. I am not sure if this is the right answer. Can you point me to some documentation that specifies how this information is stored in a MAT file? If it truly consumes 9.5 GB then perhaps I can submit a bug/feature request to Mathworks. |
|
Subject: MAT file size larger than workspace variable size From: Pekka Kumpulainen Date: 14 May, 2011 08:57:05 Message: 4 of 7 |
|
"Tom" wrote in message <iql2i1$fde$1@newscl01ah.mathworks.com>... |
|
Subject: MAT file size larger than workspace variable size From: Tom Date: 14 May, 2011 19:00:21 Message: 5 of 7 |
|
When I am back at my work computer on Monday I'll check. Assuming it is set as you say, how would you recommend changing it to reduce the file size of these cell/struct arrays? |
|
Subject: MAT file size larger than workspace variable size From: Tom Date: 17 May, 2011 18:50:08 Message: 6 of 7 |
|
I was indeed using the 7.3 HDF5 version. Would you recommend switching to the "Version 7 -v7.0" version? |
|
Subject: MAT file size larger than workspace variable size From: Pekka Kumpulainen Date: 21 May, 2011 18:40:04 Message: 7 of 7 |
|
"Tom" wrote in message <iqug10$941$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
