val = size(s)
val = size(s,1)
val = size(s, n)
[m,k] = size(s)
Vector of the form [length(s), 1].
Length of s.
Length of second dimension of s. k is always 1.
Create a structure, construct a geoshape vector, and get its size.
structArray = shaperead('worldrivers', 'UseGeoCoords', true); s = geoshape(structArray); structSize = size(structArray) sSize = size(s)
structSize = 128 1 sSize = 128 1
The second dimension is always 1.