www.gusucode.com > map 案例源码 matlab代码程序 > map/FindLengthOfMapshapeVectorExample.m

    %% Find Length of mapshape Vector
%  
%%
% Create a mapshape vector and get its length.
load coastlines
s = mapshape(coastlat, coastlon);
length(s)
length(coastlat)