Shared Memory Pack
Shared memory pack
Simulink Real-Time / Shared Memory
This block packs the specified partition structure into an unstructured double word array vector. It converts one or more Simulink® signals of varying data types into the vector. Typically, the input to a pack block is the output from a write block. The Simulink interface is not aware of structures; pass the output of each structure segment as input to the Shared Memory Pack block.
Memory partitions consist of groups of Simulink signals, which are combined into blocks (packets) of 32-bit words. Before you begin to configure this block, be sure that you have a predefined shared memory partition structure as required by the shared memory manufacturer.
This block ignores the Address field of the partition structure.
Partition struct — Name of structure
Enter the name of the predefined shared memory partition structure.