Does anyone have a .m file that will write OCAD 8? I need just one line symbol. With Eddie's great help, I have autogenerated vegetation boundaries for our rogaine area from lidar and would like to think that not reinventing this particular wheel will save me a part-time day or two. I searched for half an hour for "MATLAB to DXF" and to my amusement found that it's next to non-existent. I can go through the several GIS formats but that would require doing complex things within MATLAB and/or getting their geo package.
Can you get it to dump a list of coordinates of the vertices? Pretty trivial to go from that to a GPX file.
Write it out to the Grass ascii format, and then read it into grass and it will write out to a shape file or dxf.
The ASCII format is really simple, just a list of vertices for each polyline, and optional classification that can be linked to a db table for an attribute table.
email me if you want help with it.
Thanks! I found out that something that I already have called GPS Utility will read plain CSV and generate DXF (and, if I need them, shapefiles).