addTrafficSource
Download Required: To use addTrafficSource
,
first download the Communications Toolbox Wireless Network Simulation Library add-on.
Description
addTrafficSource(
adds a data traffic source, nrNode
,trafficSource
)trafficSource
, to a new radio (NR) node,
nrNode
. Note that nrNode
automatically calls the
generate
object function associated with the specified traffic
pattern object to generate the corresponding application traffic.
addTrafficSource(___,
specifies additional options by using name-value arguments, in addition to the input
arguments in the previous syntax. For example, Name=Value
)LogicalChannelID=5
sets
the logical channel identifier to 5
.
Note
Reusing the same traffic source object in another
addTrafficSource
function call results in an error.
Examples
Input Arguments
References
[1] 3GPP TS 38.321. “NR; Medium Access Control (MAC) protocol specification.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
Version History
Introduced in R2023a