Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Shared Memory Pack

Shared memory pack

Library

Simulink® Real-Time™ Library for Shared Memory

Description

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.

Block Parameters

Partition struct

Enter the name of the predefined shared memory partition structure.

Introduced in R2006a

Was this topic helpful?