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.


Return dynamic property names of geographic or planar vector


names = fieldnames(v)



names = fieldnames(v) returns the names of the dynamic properties of geographic or planar vector v.


collapse all

Create a mapshape vector.

ms = mapshape(shaperead('tsunamis'));

Display all dynamic properties of the mapshape vector. The displayed properties exclude the Collection properties Geometry and Metadata and the required mapshape Vertex properties X and Y.

ans = 18x1 cell array
    {'Year'       }
    {'Month'      }
    {'Day'        }
    {'Hour'       }
    {'Minute'     }
    {'Second'     }
    {'Val_Code'   }
    {'Validity'   }
    {'Cause_Code' }
    {'Cause'      }
    {'Eq_Mag'     }
    {'Country'    }
    {'Location'   }
    {'Max_Height' }
    {'Iida_Mag'   }
    {'Intensity'  }
    {'Num_Deaths' }

Input Arguments

collapse all

Geographic or planar vector, specified as a geopoint, geoshape, mappoint, or mapshape object.

Output Arguments

collapse all

Names of dynamic properties of vector v, returned as a cell array.

See Also


Introduced in R2012a

Was this topic helpful?