wirelessNetworkSimulator
Description
The wirelessNetworkSimulator object simulates different
wireless network scenarios with different types of wireless nodes. Use the object functions to
add nodes to the simulator, interact with the nodes, schedule actions to perform during
simulation, plug in custom channel models, and run simulations.
Creation
Description
creates a networkSimulator = wirelessNetworkSimulator.initwirelessNetworkSimulator object with default property values.
If the wirelessNetworkSimulator object
networkSimulator already exists in the MATLAB® workspace, the function resets the object to its default state.
Note
Call wirelessNetworkSimulator.init before creating any nodes.
Each new node receives a unique positive integer as its node ID. When you call
wirelessNetworkSimulator.init, the node ID counter
resets.
Properties
Object Functions
wirelessNetworkSimulator.getInstance | Get instance of wirelessNetworkSimulator object |
addNodes | Add nodes to simulator |
addChannelModel | Add custom channel or path loss model |
scheduleAction | Schedule action to perform during simulation |
cancelAction | Cancel scheduled action |
run | Run simulation |
schedulePreSimulationAction | Schedule pre-simulation action |
schedulePostSimulationAction | Schedule post-simulation action |
Examples
Version History
Introduced in R2022bSee Also
Objects
Topics
- Wireless Network Simulator
- Plug Custom Channel into Wireless Network Simulator
- Create, Configure, and Simulate Bluetooth BR/EDR Piconet (Bluetooth Toolbox)
- Bluetooth BR/EDR Data and Voice Communication with WLAN Signal Interference (Bluetooth Toolbox)
- Simulate Multiple Bluetooth BR/EDR Piconets with ACL Traffic (Bluetooth Toolbox)
