WSMLink`
WSMLink`

WSMRealTimeConnect

WSMRealTimeConnect[port]

connects to a local simulation on port.

WSMRealTimeConnect["host",port]

connects to a simulation on IP or hostname "host".

Details

Examples

Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Start a simulation:

In[1]:=
Click for copyable input

Find the port of the running simulation:

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

Make a new connection to the simulation:

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

Stop the simulation:

In[4]:=
Click for copyable input

Connect to a simulation running on another IP:

In[1]:=
Click for copyable input

Connect to a simulation running on a named host:

In[1]:=
Click for copyable input

See Also

WSMSimulationConnection  WSMRealTimeSimulate  WSMSimulate  WSMRealTimePlot

Tutorials