template<class T>
void mex2cpp const mxArray *&  md,
vector< T > &  cd
[inline]
 

Definition at line 192 of file mexaux.hpp.

References mex2cpp().

00193 {
00194   int m = mxGetM(md);
00195   int n = mxGetN(md);  assert(n==1);
00196   cd.resize(m*n);
00197   for(int ci=0; ci<m*n; ci++) {
00198          const mxArray*tt = mxGetCell(md, ci);
00199          mex2cpp(tt, cd[ci]);
00200   }
00201   return;
00202 }


Generated on Sun Dec 4 19:24:40 2005 for fmm3d by  doxygen 1.4.5