Is it possible that Matlab figure save as Autocad file .dwg file?
40 views (last 30 days)
Show older comments
hello,
Is it possible that Matlab figure save as Autocad file .dwg file? Thanks..
0 Comments
Answers (3)
Azzi Abdelmalek
on 5 Jan 2013
I don't think it's possible, I've already looked for something like that (how to read an autocad file in matlab, with all objects properties), and did'nt find anything.
Jan
on 6 Jan 2013
You can export to PDF and convert this to DXF.
There are several DXF export function in the FileExchange also:
- http://www.mathworks.com/matlabcentral/fileexchange/333-writedxf-m
- http://www.mathworks.com/matlabcentral/fileexchange/4895-dxf-export-for-3d-line-elements
- http://www.mathworks.com/matlabcentral/fileexchange/33884-dxflib
There are some commercial DXF to DWG converters, but Autocad should be able to do this also.
giwon hong
on 30 Dec 2016
Edited: Walter Roberson
on 9 Mar 2022
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"
1 Comment
Akshay Kumar Pakala
on 24 Mar 2022
Hey Giwon Hong
I have a 3D cube in MATLAB generated by faces and vertices. Do you think that I could generate this figure in AUTOCAD using your above mentioned method?
See Also
Categories
Find more on ActiveX 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!