Returns true if dynamic property exists
tf = isfield(p,name)tf = isfield(p,names)
tf = isfield(p,name) returns
true if the value specified by the string name is
a dynamic property of the mappoint vector, p.
tf = isfield(p,name)
tf = isfield(p,names) return
true for each element of the cell array, names,
that is a dynamic property of p. tf is
a logical array of the same size as names.
tf = isfield(p,names)
Name of the dynamic property.
Cell array of names of dynamic properties.
Boolean. 1 if p contains
the specified fields or 0 otherwise.
Create mappoint vector and check is a particular fieldname
exists in the vector.
p = mappoint(-33.961, 18.484, 'Name', 'Cape Town');
mappoint.fieldnames | mappoint.isprop
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries