| Contents | Index |
xPC Target Library for Utilities
The Byte Packing block converts one or more Simulink signals of user-selectable data types to a single vector of varying data types. The output of this block is typically connected to an input port of a Send block.
Specify the data type for the different signals. The block determines the sizes of the signals automatically. From the list, select an output port (packed) data type.
double
single
int8
uint8
int16
uint16
int32
uint32
boolean
Specify the data types of the input ports (unpacked) for the different signals as part of the block parameters.
double
single
int8
uint8
int16
uint16
int32
uint32
boolean
The data type must be a MATLAB cell array vector. The number of elements in the cell array define the number of input ports shown by this block instance.
The byte alignment field specifies how the data types are aligned. The possible values are 1, 2, 4, and 8. Each element in the list of signals starts on a boundary specified by the alignment relative to the start of the vector.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |