| 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 |
D = ModifyVariable(D, Index, expr, units)
This is a method of mbcmodel.data.
You call this method to modify the expression that defines existing variables.
D is a data object.
Index is the input index to indicate which of the available variables you wish to modify. Use the property UserVariables to find the index for each variable.
expr is the input string holding the expression that defines the variable, as for AddVariable.
units is an optional input string holding the units of the variable.
ModifyVariable(D, 2, 'MY_NEW_VARIABLE = TQ*AFR/2');
AddVariable, RemoveVariable, UserVariables
![]() | ModifyTestFilter | MultipleVIF | ![]() |

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 |