Pack and Unpack Data
This entry provides functions and blocks which convert an array of integer data into an array of bytes and vice-versa.
The functions provided are packData and unpackData. For Simulink, the provided blocks are called "Pack Data" and "Unpack Data".
For examples showing how to use the functions and blocks, see the "Supplemental Software" section of the main doc page. There will be link to the "Pack and Unpack Data" custom toolbox.
To see the files directly, navigate to Home->Add-Ons->Manage Custom Toolboxes->Open Folder
Cite As
MathWorks Student Competitions Team (2024). Pack and Unpack Data (https://www.mathworks.com/matlabcentral/fileexchange/50696-pack-and-unpack-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Arduino Udp Ethernet Shield, Ball Tracking Example, Getting Started Guide RoboNation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
code/
code/library/
code/library/
examples/
documentation/blocks/html/
documentation/concepts/html/
documentation/examples/html/
documentation/functions/html/
documentation/html/
documentation/release/html/
documentation/setup/html/
Version | Published | Release Notes | |
---|---|---|---|
15.1.2.1 | Updated license |
|
|
15.1.2.0 | 1. Changed to use typecast.
|
||
1.0.0.0 | ... |
|