|
NAME
SYNOPSIS
mat_t *
mat_t *
DESCRIPTIONThe
The mat_file_ver argument specifies the MAT file version to create. The matio library can write version 4 files (MAT_FT_MAT4), version 5 files (MAT_FT_MAT5), and an HDF5 file format introduced in MATLAB version 7.3 (MAT_FT_MAT73). The
EXAMPLES#include <stdlib.h>
#include <stdio.h>
#include "matio.h"
int main(int argc, char **argv)
{
mat_t *matfp;
matfp = Mat_CreateVer(argv[1], NULL, MAT_FT_73);
if ( NULL == matfp ) {
fprintf(stderr, "Error creating MAT file %s0, argv[1]);
return EXIT_FAILURE;
}
Mat_Close(matfp);
return EXIT_SUCCESS;
}
SEE ALSO
|