1
/*******************************************/
2
/* Matlab MAT-file Output Class, */
3
/* by Gary P. Scavone, 1999. */
4
/* This object creates a Matlab MAT-file */
5
/* structure with a numeric array */
6
/* subelement and fills it with buffers */
7
/* of samples (doubles). */
9
/* When originally created, the Matlab */
10
/* MAT-file format was not public and I */
11
/* had to reverse-engineer the format. */
12
/* Matlab finally released the format in */
13
/* the Spring of 1999, and this class was */
14
/* updated to more closely adhere to */
16
/*******************************************/
18
#if !defined(__MatWvOut_h)
24
class MatWvOut : public WvOut
28
double *matdata; /* not MY_FLOAT because MAT-file uses doubles */
30
MatWvOut(char *infileName, int chans = 1);
32
void tick(MY_FLOAT sample);
33
void mtick(MY_MULTI samples);
36
#endif // defined(__MatWvOut_h)