Quantcast

Documentation Center

  • Trial Software
  • Product Updates

fieldnames

Class: geoshape

Dynamic properties of geoshape vector

Syntax

names = fieldnames(s)

Description

names = fieldnames(s) returns the names of the dynamic properties of the geoshape vector, s.

Input Arguments

s

geoshape vector for which the properties are to be queried.

Output Arguments

names

Names of the dynamic properties in the geoshape vector s

Examples

expand all

Find dynamic properties

Create a geoshape vector and view the field names.

s = geoshape(shaperead('worldcities', 'UseGeo', true));
fieldnames(s)
ans = 

    'Name'

See Also

Was this topic helpful?