Pack and Unpack Data

Convert an array of integer data into an array of bytes and vice-versa.
1.1K 次下载
更新时间 2016/9/1

查看许可证

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

引用格式

MathWorks Student Competitions Team (2024). Pack and Unpack Data (https://www.mathworks.com/matlabcentral/fileexchange/50696-pack-and-unpack-data), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
15.1.2.1

Updated license

15.1.2.0

1. Changed to use typecast.
2. Added better error messages
3. Removed unmasked blocks to reduce confusion

1.0.0.0

...