Can MATLAB read or write files for CAD programs using the DXF format?

22 visualizaciones (últimos 30 días)
I would like to read images created in CAD programs into MATLAB, or write MATLAB data out to be loaded into a CAD program. CAD programs use the universal Drawing Exchange Format (DXF).

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
MATLAB cannot read or write DXF files.
As a workaround for importing DXF files, you could convert your image into one of the formats currently supported by IMREAD.
As a workaround for exporting DXF files, you could write out your MATLAB image into one of the formats supported by IMWRITE, and then convert this into the DXF format. For a list of supported image formats type "help imread".
Finally, there are several files on the MATLAB Central File Exchange which allow basic DXF file functionality. For more information, please visit the following URL:

Más respuestas (0)

Categorías

Más información sobre Model Import en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by