LinkClose

LinkClose[link]
closes an open MathLink connection.

DetailsDetails

  • link must be an active LinkObject, as returned by functions like LinkLaunch and Links.
  • Closing a MathLink connection does not necessarily terminate the program at the other end of the connection.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create a MathLink connection:

In[1]:=
Click for copyable input
Out[1]=

Close the open connection:

In[2]:=
Click for copyable input
New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »