Pack and Unpack Data

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

現在この提出コンテンツをフォロー中です。

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 (2026). Pack and Unpack Data (https://jp.mathworks.com/matlabcentral/fileexchange/50696-pack-and-unpack-data), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersSimulink Coder についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
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

...