%GETDISCRETESTATE(OBJ) Returns algorithmic state values
%   getDiscreteState(OBJ) returns a struct containing the current values of
%   all DiscreteState properties of System object OBJ, with field names
%   equal to the respective property names.
%
%   If OBJ has no DiscreteState properties, then getDiscreteState returns
%   an empty struct. If OBJ has DiscreteState properties and is unlocked,
%   then getDiscreteState returns a struct with empty field values.

%   Copyright 1995-2012 The MathWorks, Inc.
