13 lines
		
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			400 B
		
	
	
	
		
			C++
		
	
	
| // automatically generated by wrap
 | |
| #include <wrap/matlab.h>
 | |
| #include <folder/path/to/Test.h>
 | |
| using namespace geometry;
 | |
| 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");
 | |
| }
 |