Links

Links[]
gives a list of all MathLink connections that are currently open.

Links[patt]
lists only links whose names match the specified string pattern.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

List of all MathLink connections ending in that are currently open:

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

Use LinkCreate to create a MathLink connection:

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

The newly created link appears in the list of open connections:

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

Obtain the name of the link object used to invoke Mathematica:

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

Get the LinkObject:

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