select
Syntax
Description
Use the select
object function to create a reader for a
selected subset of stream data to read from the ADTF DAT file. You can select streams using
either the stream indices or stream name. Additionally, you can specify an index range or time
range of data, to select from each of the specified streams. The select
function returns an adtfStreamReader
object, which you can use to read data from the selected streams in the ADTF DAT
file.
creates an streamReader
= select(adtfReader
)adtfStreamReader
object, streamReader
, that can read data from all streams in the
Automotive Data and Time-Triggered Framework (ADTF) DAT file associated with the specified
adtfFileReader
object adtfReader
.
specifies a subset of streams from the ADTF DAT file using the stream indices
streamReader
= select(adtfReader
,streamIndices
)streamIndices
.
specifies a data stream from the ADTF DAT file using the stream name
streamReader
= select(adtfReader
,streamName
)streamName
.
specifies an additional option using one streamReader
= select(___,Name=Value)Name=Value
pair argument, in
addition to any combination of input arguments from previous syntaxes. You must use only one
name-value argument, specifying either the index range or time range of data to read from
the selected streams. For example, IndexRange=[1 30]
selects the first
thirty frames of data from each selected stream.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a