How to create a DXF file from Matlab script?

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.

Réponses (2)

zhuojun Liu
zhuojun Liu le 25 Jan 2016

0 votes

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 commentaire

GiWon Hong
GiWon Hong le 8 Fév 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

Connectez-vous pour commenter.

Catégories

Commenté :

le 8 Fév 2017

Community Treasure Hunt

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

Start Hunting!

Translated by