This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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. |