source: issm/trunk-jpl/src/wrappers/matlab/io/MatlabMatrixToIssmMat.cpp@ 15269

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
RevLine 
[14727]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
[14774]13IssmMat<double>* MatlabMatrixToIssmMat(const mxArray* dataref){
[14727]14
15 IssmDenseMat<double>* output=NULL;
16
17 output=new IssmDenseMat<double>();
18 MatlabMatrixToDoubleMatrix(&output->matrix,&output->M,&output->N,dataref);
[14774]19 return (IssmMat<double>*)output;
[14727]20
21}
Note: See TracBrowser for help on using the repository browser.