Sends a function name and its arguments.
The arguments are sent as they would be if you used the Put method on each one individually.
// This sends 1+2+3+4 ml.PutFunctionAndArgs("Plus", 1, 2, 3, 4);In languages other than C# or VB.NET that do not support variable numbers of arguments, the args must be packaged into an array:
ml.PutFunctionAndArgs("Plus", new int[]{1, 2, 3, 4});
Exception Type | Condition |
---|---|
MathLinkException | On any MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace