Updated 21 Sep 2010
the primary target of this script was to make a simple dxf import for matlab for the most important autocadcad entities. the script reads the coordinates and layernames of entities of a acad r2000 - r2007 ascii .dxf file and saves the results as workspace variables. it works on points, lines, circles, lwpolylines (with and without elevation), 3d polylines and 3dfaces. other entities are ignored. if an recognizable entity does not exist in the .dxf file, the corresponding output variable will not be created.
CAUTION: for all the people who had problems with prior versions of dxf2coord try this one (with no guarantee that it will work). sorry for ignoring your emails! i just posted this one because i have it unused on my pc (at the moment scilab is my choice)
this code is freeware. i will NOT guarantee for the functionality of this script, nor will i be responsible in any kind for any damage because of the use of this script or the use of results calculated by this script. it's usage is all on your own risk. there is ABSOLUTELY NO WARRANTY, not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. if you don't accept these terms don't use this script. !!!!!!! CHECK THE RESULTS FOR PLAUSIBILITY !!!!!!!
lukas wischounig (2023). dxf2coord 2.0 (https://www.mathworks.com/matlabcentral/fileexchange/28791-dxf2coord-2-0), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.