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.

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

Create a geoshape vector and view the field names.

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

    'Name'
Was this topic helpful?