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

19 vues (au cours des 30 derniers jours)
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).

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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:

Plus de réponses (0)

Catégories

En savoir plus sur Model Import dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by