Clear Filters
Clear Filters

How to import a .dxf file into matlab

78 views (last 30 days)
Earle Jamieson
Earle Jamieson on 7 Nov 2012
Hi,
I'm trying to import a .dxf file into matlab to obtain XYZ coordinates of points in a CAD file, to then use in a mathematical model.
I have looked around for hours and tried a couple of suggestions that others have posted, but none of them seem to work (or I'm using them incorrectly). The one that seemed most promising was this one, but it comes up with an error as soon as I try to load my .dxf file:
I don't really understand what a .dxf file is or what the process to import/convert it would be. I'm not even sure this can be done... does a .dxf file contain information such as XYZ coordinates?
If anyone has a solution to import the XYZ coordinates that would be great, or otherwise, if this can't be done, could you please explain why?
Thanks!
  2 Comments
David Barry
David Barry on 7 Nov 2012
Might be a good idea to upload an example .dxf file that we can look at.
Earle Jamieson
Earle Jamieson on 29 Nov 2012
Sorry, I hadn't realised that you replied to my question! Sorry but I don't know how to upload the file.. how can I do this?
Thanks!

Sign in to comment.

Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!