Last change
on this file since 15269 was 15269, checked in by Mathieu Morlighem, 12 years ago |
CHG: fixed some header files
|
File size:
462 bytes
|
Line | |
---|
1 | /*!\file MatlabMatrixToIssmDenseMat.cpp
|
---|
2 | */
|
---|
3 |
|
---|
4 | /*Headers:*/
|
---|
5 | #ifdef HAVE_CONFIG_H
|
---|
6 | #include <config.h>
|
---|
7 | #else
|
---|
8 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #include "./matlabio.h"
|
---|
12 |
|
---|
13 | IssmMat<double>* MatlabMatrixToIssmMat(const mxArray* dataref){
|
---|
14 |
|
---|
15 | IssmDenseMat<double>* output=NULL;
|
---|
16 |
|
---|
17 | output=new IssmDenseMat<double>();
|
---|
18 | MatlabMatrixToDoubleMatrix(&output->matrix,&output->M,&output->N,dataref);
|
---|
19 | return (IssmMat<double>*)output;
|
---|
20 |
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.