DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
test_puremexitk.cxx
Go to the documentation of this file.
1 
18 #include <iostream>
19 #include "mex.h"
20 #include "tr1/memory"
21 #include <vector>
22 #include "itkImage.h"
23 
24 void mexFunction(int nlhs, mxArray *plhs[],
25  int nrhs, const mxArray *prhs[])
26 {
27  // utlGlobalException(nrhs!=1, "Bad number of inputs arguments");
28  // double num = mxGetScalar(prhs[0]);
29  std::tr1::shared_ptr<std::vector<int> > pp(new std::vector<int>());
30  std::cout << "num = " << 15 << std::endl << std::flush;
31 
32  typedef itk::Image<double,3> ImageType;
33  ImageType::Pointer image = ImageType::New();
34 
35 }
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])