Mathematica > Systems Interfaces & Deployment > MathLink API >

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.
List of all MathLink connections ending in "shm" 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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team