I have run into trouble when using shapewrite on newer versions of MATLAB (2013a and 2014a). I'm creating shapefiles (sometimes pretty large >1e6 shapes) using the shapewrite function in MATLAB. When I used MATLAB 2012b a shapefile could take approx. 500 seconds to create but when I run the exact same script using MATLAB 2013a the same file took 81 000 sec. to create!! Does anyone have any similar experiences or any idea of what is going on? I'm afraid I haven't as yet made any reproducible example of this but if required I could try to do so (I'm not completely fluent in MATLAB yet).