Check if a group of properties exist in the mappoint vector.
tf = isprop(mp, {'X','x','Latitude','Name'})
tf = 1×4 logical array
1 0 0 1
The first and last elements of tf are 1 (true) because the properties X and Name exist in the mappoint vector. The second and third elements of tf are 0 (false) because the properties x and Latitude do not exist in the mappoint vector. Property names are case-sensitive.
Flag indicating the property exists in the geographic or planar vector,
returned as a logical scalar or vector. Each element of
tf is True when the
corresponding value in name or
names is a property that exists in
v.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.