| MATLAB Compiler | ![]() |
www.kxcad.net Home > CAE Software Index > MATLAB Index >
Return error message contained in this exception
#include "mclcppclass.h"
try
{
...
}
catch (const std::exception& e)
{
std::cout << e.what() << std::endl; // Displays error
// message to
// standard out.
}
None
A pointer to a NULL-terminated character buffer containing the error message.
Use this method to retrieve the error message from an mwException.
| mwException(const std::exception& e) | mwException& operator=(const mwException& e) | ![]() |
© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments