stateVector.updateLengths

Updates the state vector lengths of variables in a state vector


Syntax



Description

obj = obj.updateLengths(vars)

Updates the state vector lengths of the specified variables.


Input Arguments

vars

vector, linear indices
The indices of the variables whose state vector lengths should be updated.

Output Arguments

obj

scalar stateVector object
The state vector with updated variable lengths.