addMobility
Download Required: To use addMobility
,
first download the Communications Toolbox Wireless Network Simulation Library add-on.
Description
addMobility(
adds a
random waypoint mobility model to one or more wireless local-area network (WLAN) nodes,
wnode
)wnode
. In the random waypoint model, a wireless node pauses for some
duration at a location before moving towards its next random destination (waypoint) with a
random speed. The node repeats this process at each waypoint.
addMobility(
sets the random waypoint mobility configuration parameters using one or more optional
name-value arguments. For example, wnode
,Name=Value
)PauseDuration=0.02
sets the pause
duration of a WLAN node to 0.02 seconds. If you add random waypoint mobility models to
multiple wireless nodes in a single addMobility
function call, all the
nodes use the mobility parameter values specified by the name-value arguments.
Examples
Input Arguments
Version History
Introduced in R2023b