Documentation Center

  • Trial Software
  • Product Updates

fieldnames

Class: geopoint

Dynamic properties of geopoint vector

Syntax

names = fieldnames(P)

Description

names = fieldnames(P) returns the names of the dynamic properties of the geopoint vector, P.

Input Arguments

P

geopoint vector for which the properties are to be queried.

Output Arguments

names

Names of the dynamic properties in the geopoint vector P

Examples

expand all

Find dynamic properties

Create a geopoint vector and view a dynamic property.

P = geopoint(shaperead('worldcities', 'UseGeo', true));
fieldnames(P)
ans = 

    'Name'

See Also

Was this topic helpful?