Pack and Unpack Data

Convert an array of integer data into an array of bytes and vice-versa.

Download
Download

You are now following this Submission

Cite As

MathWorks Student Competitions Team (2026). Pack and Unpack Data (https://ch.mathworks.com/matlabcentral/fileexchange/50696-pack-and-unpack-data), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Simulink Coder in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
15.1.2

Updated license

Download
15.1.2-0

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

Download
1.0.0

...

Download