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

26 ビュー (過去 30 日間)
jahanzaib ahmad
jahanzaib ahmad 2019 年 4 月 30 日
コメント済み: Adam Danz 2019 年 5 月 1 日
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 ?

採用された回答

jahanzaib ahmad
jahanzaib ahmad 2019 年 5 月 1 日
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 件のコメント
jahanzaib ahmad
jahanzaib ahmad 2019 年 5 月 1 日
i did it ..just by putting it in loop ..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiomedical Imaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by