release

Release resources and allow changes to System object property values and input characteristics

Description

example

release(obj) releases system resources such as memory, file handles, or hardware connections, and allows you to change properties and input characteristics.

Examples

collapse all

Create a Counter object and set a property.

obj = Counter;
obj.UseIncrement = false
obj = 
  Counter with properties:

    UseIncrement: 0
    UseWrapValue: 1
      StartValue: 1
       Increment: 1
       WrapValue: 10

Reset and release the object.

reset(obj)
release(obj)

Input Arguments

collapse all

System object you want to release.

Extended Capabilities

Introduced in R2010a