Data Store Read
Page in progress. |
Reading from the data warehouse.
Description
Block Data Store Read copies data from the named data store or a selected part of it to its output. More than one block can read from the same datastore Data Store Read.
The datastore from which data is read is defined by the name of the datastore, which is specified by parameters Data store name in blocks Data Store Read и Data Store Memory.
Obtaining correct results from data stores requires ensuring that reading and writing data from the store occurs in the expected order.
You can select a block Data Store Read, Data Store Write or *Data Store Memory*to highlight the blocks associated with it.
Ports
Output
#
OUT
—
values from a given data store
scalar
| vector
| matrix
| N-D array
Details
Values from the specified data store, specified as a real or complex scalar, vector, matrix or - - array.
The specified values have the same data type and number of dimensions as the data store. You can choose whether the block provides the entire data store or only selected items.
Data types |
|
Complex numbers support |
Yes |
Parameters
Parameters
#
Data store name —
name of the data storage from which the block is read
String
Details
The name of the datastore from which this block reads data.
When compiling a model containing this block, the programme searches the model upwards from the block level for a block with the specified data store name. Data Store Memory with the specified data store name in the model.
If the programme does not find the block *Data Store Memory*block, it stops compilation and generates an error.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Sample time —
interval between calculation steps
SampleTime (real number / vector of two real numbers)
Details
Specify the interval between calculation steps as a non-negative number. To inherit a calculation step, set this parameter to -1
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
Parameters
#
Specify element(s) to select —
list of selected items
String
Details
The items you select from the data warehouse.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |