mirror of https://github.com/EspoTek/Labrador.git
19 lines
352 B
C++
19 lines
352 B
C++
#include <math.h>
|
|
#include <matrix.h>
|
|
#include <mex.h>
|
|
|
|
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
|
|
{
|
|
unsigned char n;
|
|
char *garen;
|
|
|
|
garen = mxArrayToString(prhs[0]);
|
|
|
|
mexPrintf("nlhs = %d\n", nlhs);
|
|
mexPrintf("nrhs = %d\n", nrhs);
|
|
mexPrintf("STRING = %s\n", garen);
|
|
|
|
|
|
|
|
return;
|
|
} |