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

27 vues (au cours des 30 derniers jours)
jahanzaib ahmad
jahanzaib ahmad le 30 Avr 2019
Commenté : Adam Danz le 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 ?

Réponse acceptée

jahanzaib ahmad
jahanzaib ahmad le 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);
  1 commentaire
jahanzaib ahmad
jahanzaib ahmad le 1 Mai 2019
i did it ..just by putting it in loop ..

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Biomedical Imaging dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by