What problem does it solve?
Building system-level wireless network simulations in MATLAB involves many subtle API rules—singleton simulator initialization, abstract node classes, traffic source units, callback signatures, and instrumentation setup—that are easy to get wrong and produce silent errors or infinite loops. This Skill encodes the correct workflow, conventions, and common-mistake fixes so simulations run correctly the first time.
Core Features & Use Cases
- End-to-End Simulation Workflow: Covers the full sequence from wirelessNetworkSimulator.init through node creation, traffic sources, mobility, instrumentation, batch addNodes, run, and statistics extraction.
- Custom Node Development: Provides the complete pattern for subclassing wnet.Node, including the five required method overrides, wirelessPacket structure, interference buffering, and event callback implementation.
- Instrumentation & Capture: Guides use of wirelessNetworkEventTracer, wirelessIQLogger, wirelessTrafficViewer, wirelessNetworkViewer, and PCAP writers (pcapWriter, blePCAPWriter) for logging and analysis.
- Use Case: Imagine you need to simulate 10 custom wireless nodes with random-waypoint mobility, log transmission events, and sweep a transmit power parameter across 5 values. This Skill provides the exact code patterns for vectorized node creation, mobility bounds, event tracing, and the parametric sweep loop with mandatory simulator reinitialization.
Quick Start
Ask your AI agent to create a wireless network simulation with wirelessNetworkSimulator that adds traffic sources, mobility, and event tracing, then runs the simulation and extracts statistics.