Hi
 
I intend to change printf() calls in the <object>print() functions of some of the Dynare++ Sylv exceptions and Vector and GeneralMatrix  to mexPrintf()and use following to switch between printf and mexPrintf()
 
#ifdef MATLAB
#include "mex.h"
#else
#define mexPrintf printf
#endif
Is that OK or will this cause any problems?
 
Best regards
 
George