dsp.UDPSender System object
将UDP数据包发送到网络
描述
TheUDPSender
对象将UDP数据包发送到网络。
要将UDP数据包发送到网络:
Define and set up your UDP sender. SeeConstruction。
Call
step
根据属性发送数据包dsp.UDPSender
。The behavior ofstep
is specific to each object in the toolbox.
不te
Starting in R2016b, instead of using thestep
执行由System Object™定义的操作的方法,您可以用参数调用对象,就好像它是函数一样。例如,y = step(obj,x)
和y = obj(x)
perform equivalent operations.
Construction
udps = dsp.udpsender
返回UDP发送者对象,udps
, that sends UDP packets to a specified port.
udps = dsp.udpsender('
返回UDP发送者对象,财产Name
',财产Value
,……)udps
, with each property set to the specified value.
Properties
|
远程地址发送数据 指定发送数据的遥控器(即主机)IP地址。默认值为 |
|
远程端口发送数据 Specify the port at the remote IP address to which the data is sent. This property is tunable in generated code but not tunable during simulation. The default is |
|
来源 指定如何确定主机上的端口为| |
|
Local port from which to send data Specify the port from which to send data. This property applies when you set the |