Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

release

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

Syntax

release(obj)

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: false
    UseWrapValue: true
      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

Was this topic helpful?