| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model-Based Calibration |
| Contents | Index |
| Learn more about Model-Based Calibration |
userV = D.UserVariables
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
Variable — variable name
Expression — The string expression as defined in AddVariable or ModifyVariable
Units — The string defining the units
AppliedOK — Boolean indicating that the variable expression was successfully applied
Message — String holding information on the success or otherwise of the variable
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.
AddVariable, ModifyVariable, RemoveVariable
![]() | UpdateResponseFeatures | Value | ![]() |

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 |