source: issm/trunk-jpl/src/wrappers/matlab/io/MatlabVectorToIssmVec.cpp@ 15106

Last change on this file since 15106 was 15106, checked in by Mathieu Morlighem, 12 years ago

CHG: cosmetics, removed double blank lines

File size: 536 bytes
Line 
1/*!\file MatlabVectorToIssmVec.cpp
2 */
3
4/*Headers:*/
5#include <mex.h>
6#include <stdio.h>
7#include <string.h>
8#include "./matlabio.h"
9#include "../../c/toolkits/toolkits.h"
10#include "../../c/shared/shared.h"
11
12IssmVec<double>* MatlabVectorToIssmVec(const mxArray* dataref){
13
14 IssmVec<double>* output=NULL;
15 IssmSeqVec<double>* seqvec=NULL;
16
17 output=new IssmVec<double>();
18
19 seqvec=new IssmSeqVec<double>();
20
21 MatlabVectorToDoubleVector(&seqvec->vector,&seqvec->M,dataref);
22
23 output->vector=(IssmAbsVec<double>*)seqvec;
24 return output;
25
26}
Note: See TracBrowser for help on using the repository browser.