public class MatFileHeader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VERSION |
| Constructor and Description |
|---|
MatFileHeader(String description,
int version,
byte[] endianIndicator)
New MAT-file header
|
| Modifier and Type | Method and Description |
|---|---|
static MatFileHeader |
createHeader()
A factory.
|
String |
getDescription()
Gets descriptive text
|
int |
getVersion()
When creating a MAT-file, set version to 0x0100
|
String |
toString() |
public static final int DEFAULT_VERSION
public MatFileHeader(String description, int version, byte[] endianIndicator)
description - - descriptive text (no longer than 116 characters)version - - by default is set to 0x0100endianIndicator - - byte array size of 2 indicating byte-swapping requirementpublic String getDescription()
public int getVersion()
public static MatFileHeader createHeader()
MatFileHeader instance with default header values:
MatFileHeader instance