Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

UserVariables - Structure array holding user-defined variables

Syntax

userV = D.UserVariables

Description

This is a property of mbcmodel.data.

This returns a structure array holding information about the currently defined filters. The array will be the same length as the number of currently defined variables, with fields

Examples

myvars = D1.UserVariables

This returns the following information about the user-defined variable in the example data object D1:

      Variable: 'BSFC'
    Expression: 'BSFC = FUELFLO./(BTQ.*(ENGSPEED*2*pi/60))'
         Units: 'kg/Nm'
     AppliedOK: 1
       Message: 'Variable successfully added'

Variable is the parsed name of the variable being added. Note that this might differ from the string used in AddVariable because the SignalName must be a valid MATLAB variable name, and hence MBC will parse and modify the input string appropriately.

See Also

AddVariable, ModifyVariable, RemoveVariable

  


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