addMobility
Download Required: To use addMobility
,
first download the Communications Toolbox Wireless Network Simulation Library add-on. For more
information, see Get and Manage Add-Ons.
Description
addMobility(
adds a
random waypoint mobility model to Bluetooth® basic rate/enhanced data rate (BR/EDR) nodes, btNode
)bnode
. 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, btNode
,Name=Value
)PauseDuration=0.02
sets the pause
duration of a Bluetooth BR/EDR 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