gp =
0x1 geopoint vector with properties:
Collection properties:
Geometry: 'point'
Metadata: [1x1 struct]
Feature properties:
Latitude: []
Longitude: []
Check if the geopoint vector is empty. A returned value of 1 (true) indicates the vector is empty.
isempty(gp)
ans = logical
1
Create a second geopoint vector, specifying a geographic point. Confirm that this vector is not empty. A returned value of 0 (false) indicates the vector is not empty.