Ice Sheet System Model  4.18
Code documentation
ApiPrintf.cpp
Go to the documentation of this file.
1 /* \file ApiPrintf.c:
2  * \brief: API specific symbols from libISSMCore that we need to resolve here
3  */
4 
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 /*Matlab printf i/o: */
14 void ApiPrintf(const char* string){
15 
16  /*use mexPrintf in matlab: */
17  mexPrintf(string); /*Messes up percentages (like "interpolation progress: 100.00%")*/
18  //printf("%s",string);
19  return;
20 }
ApiPrintf
void ApiPrintf(const char *string)
Definition: ApiPrintf.cpp:13
matlabio.h