delete - Delete System object - MATLAB (original) (raw)

Main Content

Syntax

Description

delete([obj](#mw%5F16212d07-79cb-49c8-86c3-7020086d6094)) deletes the System objectâ„¢. Calling delete on the object removes the object, but does not clear object variables.

example

Examples

collapse all

Delete an existing System object

Call delete to delete an existing System object.

Create a counter System object named obj.

Delete the created System object using delete.

Note that calling delete on the object removes the object, but does not clear object variables.

Refer to the example in setup for the class definition of counter.

Input Arguments

collapse all

obj — System object

System object

System object handle used to access properties, states, and methods specific to the object.

Version History

Introduced in R2012a