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

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

merged trunk-jpl and trunk for revision 12703

File size: 543 bytes
RevLine 
[12013]1/*!\file MatlabMatrixToSeqMat.cpp
2 */
3
4/*Headers:*/
[12706]5/*{{{*/
[12013]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
[12011]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.