CallPacket

CallPacket[integer,list]
is a WSTP packet encapsulating a request to invoke the external function numbered integer with the arguments contained in list.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Start a WSTP-compatible external program:

In[1]:=
Click for copyable input

Write a CallPacket:

In[2]:=
Click for copyable input

Read the result:

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

Terminate the external program:

In[4]:=
Click for copyable input
Introduced in 1996
(3.0)