# empty

Create empty array of specified class

## Description

The `empty`

method creates empty arrays of a given class. For
an introduction to empty arrays in MATLAB^{®}, see Empty Arrays. To test if an
existing array is an empty array, use `isempty`

.

returns an empty 0-by-0 array of the specified class. Replace
`A`

= ClassName.empty`ClassName`

with the actual name of the class. For more
information on how empty arrays behave, see Empty Arrays in MATLAB.

returns an empty array with the specified dimensions. At least one of the dimensions
must be 0.`A`

= ClassName.empty(`sz1,...,szN`

)

returns an empty array with the specified dimensions. At least one of the dimensions
must be 0.`A`

= ClassName.empty(`sizeVector`

)

## Examples

## Input Arguments

## Output Arguments

## More About

## Tips

`empty`

is a hidden, public, static method of all nonabstract MATLAB classes. You can override the`empty`

method in class definitions.This method is useful for creating empty arrays of data types that do not have a special syntax for creating empty arrays, such as

`[]`

for double arrays.

## Version History

**Introduced in R2008a**