Value - Double data from data object
Syntax
val = Value(D, varNames, testNumbers)
Description
This is a method of mbcmodel.data.
Use this to extract particular data values.
varNames is an optional input that specifies
either the name of the signal that you want to extract (such as 'SPK')
or an array of names ({'SPK' 'AFR' 'TQ'}) the indices
of the signals ([1 4 5]). Defaults to ':' meaning
all.
testNumbers is an optional input that specifies
which test indices you want. Defaults to ':' meaning all.
val outputs the double values held in the
data.
Examples
dblValues = Value(D, 'SPK', 1);
dblValues = Value(D, {'SPK' 'AFR'}, ':');
dblValues = Value(D, [1 3 4 5]);
dblValues = Value(D, ':', [1 4 6 8]); See Also
SignalNames
 | UserVariables | | Values |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit