5.0

5.0 | 1 rating Rate this file 142 downloads (last 30 days) File Size: 56.84 KB File ID: #12250

MAT-file utilities

by Malcolm Lidierth

 

13 Sep 2006 (Updated 30 Jan 2007)

No BSD License  

Functions for handling large matrices in MAT-files.

Download Now | Watch this File

File Information
Description

Functions for handling large matrices in MAT-files.

where is a whos-like function that returns data classes/offsets on disc allowing low-level I/O to the MAT-file.

AppendVector, AppendColumns and AppendMatrix allow data to be written in blocks to a MAT-file. This removes the need for all data to be held in memory as with the builtin save command.

Reading large data sets can be helped using the adcarray class which is available seperately, see:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11097&objectType=FILE

Acknowledgements
This submission has inspired the following:
3D Cube Slice
MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Other Files
MAT/AddDimension.m,
MAT/AppendColumns.m,
MAT/AppendMatrix.m,
MAT/AppendVector.m,
MAT/CheckIsLastEntry.m,
MAT/Contents.m,
MAT/CreateMatrix.m,
MAT/endian.m,
MAT/GetLastEntry.m,
MAT/MATOpen.m,
MAT/private/AppendData.m,
MAT/private/argcheck.m,
MAT/private/ByteAlign.m,
MAT/private/ChangeDimensions.m,
MAT/private/Contents.m,
MAT/private/GetSmallDataElement.m,
MAT/private/PadToEightByteBoundary.m,
MAT/private/sizeof.m,
MAT/private/StandardMiCodes.m,
MAT/private/StandardMxCodes.m,
MAT/README.pdf,
MAT/RestoreDiscClass.m,
MAT/VarRename.m,
MAT/where.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
05 Apr 2007 Anon Anon  
Please login to add a comment or rating.
Updates
14 Sep 2006

VarRename cleanly exits on non-Windows platforms (which it has not been tested on).
Unnecessary global variable declarations removed

14 Sep 2006

Apologies. Previoussly deleted global declarations were required.

22 Sep 2006

Coding improved. Global vars removed.
WHERET functionality included in WHERE.
Tested on big-endian MAT-files.

03 Nov 2006

Now platform-independent

06 Dec 2006

New functions included

30 Jan 2007

Minor bug fix (argcheck). Improved VarRename

Tag Activity for this File
Tag Applied By Date/Time
path Malcolm Lidierth 22 Oct 2008 08:39:05
directories Malcolm Lidierth 22 Oct 2008 08:39:05
files Malcolm Lidierth 22 Oct 2008 08:39:05
mat fread fwrite memmapfile Malcolm Lidierth 22 Oct 2008 08:39:05
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com