Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink Mathematica Functions > LinkWrite >

LinkWrite

LinkWrite
writes expr to the specified MathLink connection.
  • The head of expr will often be a packet that specifies how expr should be processed by the program which receives it.
Launch a subsidiary Mathematica kernel process:
Read the first packet:
Write the expression to the link without evaluating it:
Read the result:
Close the link:
Launch a subsidiary Mathematica kernel process:
In[1]:=
Click for copyable input
Out[1]=
Read the first packet:
In[2]:=
Click for copyable input
Out[2]=
Write the expression to the link without evaluating it:
In[3]:=
Click for copyable input
Read the result:
In[4]:=
Click for copyable input
Out[4]=
Close the link:
In[5]:=
Click for copyable input
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF