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.

isempty

Class: mapshape

Return true if mapshape vector is empty

Syntax

tf = isempty(s)

Description

tf = isempty(s) returns true if the mapshape vector, s, is empty and false otherwise.

Input Arguments

s

mapshape vector.

Output Arguments

tf

Boolean. 1 if s is empty or 0 if not.

Examples

expand all

Create a mapshape vector and see if it's empty.

s = mapshape();
isempty(s)
ans =

     1

See Also

Was this topic helpful?