Mathematica 9 is now available
 Documentation /  Mathematica /  The Mathematica Book /  Mathematica Reference Guide /  Listing of C Functions in the MathLink Library /

MLErrorMessageMLFlush

MLEvaluateString()

FilledSmallSquareint MLEvaluateString(MLINK link, char *string) sends a string to Mathematica for evaluation, and discards any packets sent in response.

FilledSmallSquare The code for MLEvaluateString() is not included in the MathLink library, but is generated automatically by mcc or mprep in processing MathLink template files.

FilledSmallSquareMLEvaluateString("Print[\"string\"]") will cause string to be printed in a Mathematica session at the other end of the link.

FilledSmallSquare See The Mathematica Book: Section 2.12.3 and Section 2.12.9.

MLErrorMessageMLFlush



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.