How to create a DXF file from Matlab script?

96 views (last 30 days)
I'm currently designing a lattice tower using matlab. I have the XYZ coordinates of all the joints and the end connection joints of all the bars. I also have the cross-sectional areas of all the bars. I would like to create a DXF file in order to export this data either to AutoCAD or SolidWorks.
Any ideas? Thanks.

Answers (2)

zhuojun Liu
zhuojun Liu on 25 Jan 2016
Did you already fix this problem?I am looking for a method to export a .dxf file which i want to use it as a geo file in other software,but i am still not sucussful... Thanks~
  1 Comment
GiWon Hong
GiWon Hong on 8 Feb 2017
Hi, You can draw MATLAB calculation results in AutoCAD by "COM" object (ActiveX). - connect to AtoCAD by ActiveX - invoke the AutoCAD method to draw figure (point, line, arc, spline etc)
You can find a simple e-book in AMZON by searching "MATLAB+AutoCAD" https://www.amazon.com/matlab-autocad-calculation-results-engineering-ebook/dp/B01MR0OJBA/ref=sr_1_1?ie=UTF8&qid=1486539440&sr=8-1&keywords=matlab+autocad MATLAB+AUTOCAD

Sign in to comment.


Walter Roberson
Walter Roberson on 25 Jan 2016

Categories

Find more on Printing and Saving 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!