12 lines
389 B
C++
12 lines
389 B
C++
// automatically generated by wrap on 2011-Dec-08
|
|
#include <wrap/matlab.h>
|
|
#include <folder/path/to/Test.h>
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
{
|
|
checkArguments("new_Test_dM",nargout,nargin,2);
|
|
double a = unwrap< double >(in[0]);
|
|
Matrix b = unwrap< Matrix >(in[1]);
|
|
Test* self = new Test(a,b);
|
|
out[0] = wrap_constructed(self,"Test");
|
|
}
|