Skip to content

Instantly share code, notes, and snippets.

View egormkn's full-sized avatar

Egor Makarenko egormkn

View GitHub Profile
#include "mat.h" // from MATLAB
#include "matrix.h" // from MATLAB
#include "matio.h" // https://github.com/tbeu/matio
#include "string.h"
#include "stdlib.h"
/*
* Open a MAT-file "filename" using mode "mode". Return
* a pointer to a MATFile for use with other MAT API functions.