#include "Matlab/mexLog.H"
#include <iostream>
Go to the source code of this file.
Functions | |
void | mexInfo (const std::string &msg) |
writes an info message to mexPrintf | |
void | mexError (const std::string &msg) |
writes an error message | |
void | mexFatal (const std::string &msg) |
writes an error message and leaved the mex file | |
void | mexDebug (const std::string &msg) |
writes a debug message |
a few helpful functions for logging in mex files
Definition in file mexLog.C.
void mexDebug | ( | const std::string & | msg | ) |
void mexError | ( | const std::string & | msg | ) |
writes an error message
to get printf-style formatting, use sformat() from "Util/sformat.H"
Definition at line 51 of file mexLog.C.
Referenced by MexModelManager::parseMexCommandLine(), and MexReturn::~MexReturn().
void mexFatal | ( | const std::string & | msg | ) |
writes an error message and leaved the mex file
to get printf-style formatting, use sformat() from "Util/sformat.H"
Definition at line 57 of file mexLog.C.
Referenced by cellArr2ImageSet(), cellArr2ImageSetVec(), MexModelManager::exitMexFunction(), MexModelManager::getExtraMexArg(), ImgVec2mexArr(), mexArr2ImgVec(), mexArr2Point2DVec(), mexArray2Image(), mexArray2RGBImage(), Vector2mexArr(), and MexReturn::~MexReturn().
void mexInfo | ( | const std::string & | msg | ) |