: dxf = dxfread (fname)

Read a DXF file (text file) into a Nx3 cell array.

fname is the file name or full path name of a text format (not binary) DXF file, with or without "dxf" extension.

Output variable dxf is a cell array with DXF codes in column 1, the corresponding DXF text info (or empty string) in column 2, and corresponding numeric values (or NaN) in column 3. Use dxfparse for converting the output into a DXF drawing struct or separate mapstructs for each ENTITY type in the DXF file.

See also: dxfparse, dxfdraw.

Package: mapping