MATOpen
MATOpen opens a MAT file in appropriate endian mode and returns a handle
Example:
[FH, SWAP]=MATOPEN(FILENAME, PERMISSION)
FH is the returned file handle
PERMISSION is the permission string for FOPEN
SWAP is set true if the byte order is different to the default of the host
platform
The "appropriate" endian order is either:
The system default endian if FILENAME does not exist
The existing endian order for the file if FILENAME does exist
See also endian
Author: Malcolm Lidierth 09/06
Copyright © Kings College London 2006
Revisions:
16.03.08 Remove endian as varname now function endian is defined