public static IMathLink CreateMathLink(
string[] argv
)
Public Shared Function CreateMathLink (
argv As String()
) As IMathLink
public:
static IMathLink^ CreateMathLink(
array<String^>^ argv
)
static member CreateMathLink :
argv : string[] -> IMathLink
You can use standard MathLink/WSTP specifications for establishing a link, for example -linkprotocol, -linkname, and -linkmode.
An example of a string array argument would be:string[] mlArgs = {"-linkmode", "listen", "-linkname", "foo"};
IMathLink ml = MathLinkFactory.CreateMathLink(mlArgs);
MathLinkException | If the opening of the link fails. |