source: issm/trunk/src/c/matlab/io/MatlabMatrixToSeqMat.cpp@ 12330

Last change on this file since 12330 was 12330, checked in by Mathieu Morlighem, 13 years ago

merged trunk-jpl and trunk for revision 12326M

File size: 544 bytes
Line 
1/*!\file MatlabMatrixToSeqMat.cpp
2 */
3
4/*Headers:*/
5/*{{{1*/
6#ifdef HAVE_CONFIG_H
7 #include <config.h>
8#else
9#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
10#endif
11
12#include <mex.h>
13#include <stdio.h>
14#include <string.h>
15#include "../../toolkits/toolkits.h"
16#include "../../shared/shared.h"
17#include "./matlabio.h"
18
19/*}}}*/
20
21SeqMat* MatlabMatrixToSeqMat(const mxArray* dataref){
22
23 SeqMat* output=NULL;
24
25 output=new SeqMat();
26 MatlabMatrixToDoubleMatrix(&output->matrix,&output->M,&output->N,dataref);
27 return output;
28
29}
Note: See TracBrowser for help on using the repository browser.