Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / System Interface  /
LinkWrite

  • LinkWrite[ link , expr ] writes expr to the specified MathLink connection.
  • link must be an active LinkObject, as returned by functions like LinkLaunch or Links.
  • You can use LinkWrite[ link , Unevaluated[ expr ]] to write expr to the link without evaluating it.
  • The head of expr will often be a packet which specifies how expr should be processed by the program which receives it.
  • When LinkWrite is used to send data to a Mathematica kernel, EnterTextPacket[" string "] enters the text of an input line, and EvaluatePacket[ expr ] sends an expression for evaluation.
  • See the Mathematica book: Section 2.12.6.
  • See also: LinkRead, Write, FrontEndExecute.

    Further Examples

    See the Further Examples for LinkLaunch.


    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.