Quantcast

Documentation Center

  • Trial Software
  • Product Updates

isempty

Class: mapshape

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

Check if a mapshape vector is empty

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

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

     1

See Also

Was this topic helpful?