reset - Reset internal states of System object - MATLAB (original) (raw)

Main Content

Reset internal states of System object

Syntax

Description

reset([obj](#bvlewbx-1-obj)) resets the internal states and input properties of the System objectâ„¢ to their initial values.

example

Examples

collapse all

Use the reset method to reset internal state and input properties of System objectcounter. Refer to the example in setup for the class definition of counter.

Create a Counter object and set a property.

obj = Counter; obj.UseIncrement = false

obj = Counter with properties:

UseIncrement: false
UseWrapValue: true
  StartValue: 1
   Increment: 1
   WrapValue: 10

Reset and release the object.

Input Arguments

collapse all

System object whose state you want to reset.

Extended Capabilities

Version History

Introduced in R2010a