12 lines
359 B
C++
12 lines
359 B
C++
// automatically generated by wrap
|
|
#include <wrap/matlab.h>
|
|
#include <folder/path/to/Test.h>
|
|
using namespace geometry;
|
|
typedef boost::shared_ptr<Test> Shared;
|
|
void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
|
{
|
|
checkArguments("print",nargout,nargin-1,0);
|
|
Shared obj = unwrap_shared_ptr<Test>(in[0], "Test");
|
|
obj->print();
|
|
}
|