gp =
0×1 geopoint vector with properties:
Collection properties:
Geometry: 'point'
Metadata: [1×1 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.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.