The current version of r_gshhs.m cannot handle v2 GSHHS data due to a change in header size (v1 is 9 x int32, v2 is 11 x int32). So simple change in the two fread statments allow it to work ok. So need some flag to be passed in allowing this to be set.
Simon.