const char * MLErrorMessage(MLINK link)link 上で最も最近に発生したエラーを示す文字列を返す.
#include "mathlink.h"/* send the double precision floating-point number 3.22 to a link and print an error message if the send fails */void f(MLINK lp){ if(! MLPutReal64(lp, 3.22)) { /* unable to send 3.22 to lp */ printf("MathLink Error: %s\n", MLErrorMessage(lp)); } /* ... */}
MLError() MLClearError()
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »