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 and Options

Examples

Basic Examples  (4)

Load Wolfram System Modeler Link:

Start a simulation:

Find the port of the running simulation:

Make a new connection to the simulation:

Stop the simulation:

Connect to a simulation running on another IP:

Connect to a simulation running on a named host: