Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS