function rthosts_getRTEnv % Create a new real-time host environment collection object rthosts_obj = simwb.rthosts % Add a new default real-time host environment object to the collection rthosts_obj.add % Get names of real-time host environments present in the collection rthosts_obj.getRTEnvNames % Return the real-time host environment object with name SimWB_RTHost1 rthostenv_obj = rthosts_obj.getRTEnv('SimWB_RTHost1')
rthosts_obj =
simwb handle
Properties:
NumHosts: 0
ans =
simwb handle
Properties:
NumHosts: 1
ans =
'SimWB_RTHost1'
rthostenv_obj =
simwb.rthostenv handle
Package: simwb
Properties:
Name: 'SimWB_RTHost1'
RTHostNameorIP: '127.0.0.1'