$ParentLink

$ParentLink
is the MathLink LinkObject currently used for input and output by the Mathematica kernel in a particular session.

DetailsDetails

  • When the Mathematica kernel is started by a Mathematica front end, $ParentLink gives the MathLink connection between the front end and the kernel.
  • You can reset $ParentLink in the middle of a Mathematica session to connect the kernel to a different front end.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

The MathLink LinkObject currently used for input and output by the Mathematica kernel:

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

$ParentLink is an active link listed in Links:

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