Examples for Pack and Unpack Data

MATLAB Example
MATLAB Codegen Example
Simulink Example