File Exchange

image thumbnail

Communications Toolbox Library for the ZigBee Protocol

Model and simulate end-to-end communications stack of Zigbee Protocol


Updated 10 Mar 2021

ZigBee is a low-rate wireless personal area network (LRWPAN) standard that is used in a wide range of applications such as sensor networks, home automation, industrial automation, health monitoring and the Internet of Things (IoT). ZigBee uses the IEEE® 802.15.4 PHY and MAC specification. Other LRWPAN standards such as 6LoWPAN, WirelessHART and MiWi also use the IEEE 802.15.4 PHY and MAC.
The Communications System Toolbox™ Library for the ZigBee Protocol provides end-to-end simulation of the entire communications stack (PHY, MAC, NET, APP). With this library, you can simulate the following:
• PHY layer examples:
* Waveform generation and decoding for the original IEEE 802.15.4 specification and IEEE 802.15.4b/c/d
* Practical signal recovery for IEEE 802.15.4 OQPSK signals at 2.4 GHz
• MAC layer examples:
* Generate and decode IEEE 802.15.4 MAC frames
* Simulate the asynchronous CSMA IEEE 802.15.4 MAC
• NET layer examples:
* Generate and decode data frames of the ZigBee NET layer
• APP layer examples:
* Generate and decode frames of the Application Support Sublayer
* Generate and decode the header of ZigBee Cluster Library (ZCL) frames
* Fully encode and decode two ZCL clusters:
• Intruder Alarm System Zone cluster (such as those used by motion sensors)
• On/Off cluster (such as those used by light bulbs)
Opening the mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for this Add-On and acquire the latest version for the release you have.
This mlpkginstall file is functional for R2017a and beyond.

Comments and Ratings (17)

Ankit Kumar

Ankit Kumar

As I am running the ZigBee transciever block in Simulink with AWGN channel at 20microseconds it is stuck at 99% in my laptop.... What should I do any suggestions please?

Martin Sokolov

Can we convert matlab code to simulink blocks ?

Ali Shamseddine

hello,if anyone know what is the name of the function used in command window to open the zigbee library tell me please
Thank you

Ali Shamseddine

if any one know what is the name of this function tell me please

Mohamadreza Salmani

Thank you

Rupali Besra




Betoul Alsabagh

Dan-Yang Wang

zhang xianbing

Benny Gandara

Thank You Very Much


Nanda Kishore Chavali

S. M. Nadim Uddin

Thank you so much.

MATLAB Release Compatibility
Created with R2017a
Compatible with R2017a to R2021a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!