Unpack Bytes

This MotoHawk™ block unpacks an array of bytes into signals, according to a pack expression.

Block ID

motohawk_unpack

Library

MotoHawk_lib/Extra Development Blocks

Description

This block unpacks signals from an array of bytes, according to a pack specification.

When the expression given is a function, then it must be on the MATLAB path.

For an example pack specification function see motohawk_pack_example.m

Block Parameters

Parameter Field Values Comments/Description
Unpack expression Alpha-numeric text Definition function or expression to use. A function name shall have no special characters, such as spaces, dashes, commas (underscore allowed). Function parameters are permitted