I am attempting to export a shapefile from my matlab code that will include 4 field
Shapefile = [X,Y,ID,Magnitude].
I have tried using both the mappoints and geopoints methods in order to create a strucutred array, and then using the shapewrite function to output the shapefile, however, every time I attempt to run the shapewrite function I get a "Unknown shape identification: shapefile_name.shp'
In addition, I have tried using the examples on the shapewrite documentation and get the same error using those examples. Googling has not yielded any results as to what the error could indicate either.
I've attached a text file with the ID, Coordinates X, Coordinate Y, and Magnitude below if anyone else wants to attempt converting this to a point shapefile with ID and Magnitude attributes.