.NET/Link API Version 1.7 USE FRAMES

MathLinkFactory.CreateKernelLink Method ()

Launches the default Mathematica kernel and returns a link to it.

[Visual Basic]
Overloads Public Shared Function CreateKernelLink() As IKernelLink
public static IKernelLink CreateKernelLink();

Return Value

The created link.


Use this method if you want to launch the kernel. This is probably the most commonly-used method in this class.

It looks in the Windows registry for the location of the most recently-installed copy of Mathematica.


Exception TypeCondition
MathLinkExceptionIf the opening of the link fails.

See Also

MathLinkFactory Class | Wolfram.NETLink Namespace | MathLinkFactory.CreateKernelLink Overload List