%% Methods for a System Object
% This example shows how to use the common methods of a system object.
%% Create Object and Set a Property

obj = Counter;
obj.UseIncrement = false

%
%% Copy Object

obj2 = clone(obj)

%
%% Get Number of Inputs and Outputs

in = getNumInputs(obj)
out = getNumOutputs(obj)

%
%% Run Object

step(obj,1)

%
%% Check if Locked

isLocked(obj)

%
%% Reset and Release

reset(obj)
release(obj)

%
%% Object Is Not Locked

isLocked(obj)

%
% Copyright 2012 The MathWorks, Inc.