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
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.
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
comma-separated pairs of
the argument name and
Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
'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
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.