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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.