Filter löschen
Filter löschen

how to convert the data in cell array to .dxf file .

14 Ansichten (letzte 30 Tage)
jahanzaib ahmad
jahanzaib ahmad am 30 Apr. 2019
Kommentiert: Adam Danz am 1 Mai 2019
i have multiple polygons in cell array ( varriable attached and figure) .how these polygons can be converted into .dxf file for further use in autocad ?

Akzeptierte Antwort

jahanzaib ahmad
jahanzaib ahmad am 1 Mai 2019
FID = dxf_open('polygons.dxf');
FID = dxf_set(FID,'Color',[0 1 1]);
for i=1:length(BB)
a=BB{i};
X=a(:,1);
Y=a(:,2);
Z=zeros(length(X),1);
dxf_polyline(FID,X,Y,Z);
end
dxf_close(FID);

Weitere Antworten (0)

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by