Using Simulink    
Data Store Memory

Define a data store.

Library

Signals & Systems

Description

The Data Store Memory block defines and initializes a named shared data store, which is a memory region usable by the Data Store Read and Data Store Write blocks.

Each data store must be defined by a Data Store Memory block. The location of the Data Store Memory block that defines a data store determines the Data Store Read and Data Store Write blocks that can access the data store:

You initialize the data store by specifying values in the Initial value parameter. The size of the value determines the dimensionality of the data store. An error occurs if a Data Store Write block does not write the same amount of data.

Data Type Support

A Data Store Memory block stores real signals of type double.

Parameters and Dialog Box

Data store name
The name of the data store being defined. The default is A.
Initial value
The initial values of the data store. The default value is 0.
Interpret vector parameters as 1-D
If selected, a column or row matrix value for the Initial value parameters initializes the data store to a 1-D array (vector) whose elements are equal to the elements of the row or column vector.

Characteristics

Sample Time
N/A
Dimensionalized
Yes


 Coulomb and Viscous Friction Data Store Read