Read feature values, independent variables, and condition variables from an ensemble data set into a table
readFeatureTable is a function used in code generated by Diagnostic Feature
uses the frame size and frame rate defined in
ft = readFeatureTable(
FramePolicyID to read
each frame interval when the function constructs the feature table. This syntax applies to
frame-based—also known as segmented—signal and feature computation.
specifies the features and variables to read using one or more name-value pair arguments.
For instance, if you use
ft = readFeatureTable(___,
ft contains only the
'FaultCode' condition variable
but still includes all features and independent variables. You can use this syntax with any
of the input argument combinations in previous syntaxes.
ensemble — Ensemble of member data
workspaceEnsemble object |
fileEnsembleDatastore object |
Ensemble of member data, specified as a
fileEnsembleDatastore object, a
simulationEnsembleDatastore object, or a
framepolid — Frame policy ID
Frame policy ID, specified as a string formatted as
policy index>. In code generated by Diagnostic Feature
Designer, the frame policy reflects the choice of frame size and frame rate in
Specify optional pairs of arguments as
the argument name and
Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name in quotes.
Features — Features to read
Features to read, specified as the comma-separated pair consisting of
'Features' and a string array of paths that point to the selected
features. If you do not specify
'Features', the function reads
all the features.
IndependentVariables — Independent variables to read
Independent variables to read, specified as the comma-separated pair consisting of
and a string array
of paths that point to the selected variables. If you do not specify
'IndependentVariables', the function reads all the independent
ConditionVariables — Condition variables to read
Condition variables to read, specified as the comma-separated pair consisting of
and a string array of paths that point to the selected variables. If you do not
'ConditionVariables', the function reads all the
IncludeMemberID — Option to return member IDs
false (default) |
Option to return ensemble member IDs, specified as the comma-separated pair
'IncludeMemberID' and a logical scalar. When you set
true, the feature table
ft includes a column of member IDs.
ft — Feature table
Feature table, specified as a table. The table contains features, independent variables, and condition variables for each member. The features and condition variables are scalars. The independent variables are timetables, tables, or cell arrays.
Introduced in R2020a