please some one help me import the give txt file format as table

8 ビュー (過去 30 日間)
Ayyachamy
Ayyachamy 2014 年 10 月 28 日
編集済み: Walter Roberson 2025 年 10 月 8 日 1:17
solid OBJECT
facet normal -0 -0 -1
outer loop
vertex 10 -10 0
vertex 0 -10 0
vertex 0 0 0
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 10 0 0
vertex 10 -10 0
vertex 0 0 0
endloop
endfacet
facet normal -0 0 1
outer loop
vertex 0 -10 20
vertex 10 0 20
vertex 0 0 20
endloop
endfacet
facet normal -0 0 1
outer loop
vertex 0 -10 20
vertex 10 -10 20
vertex 10 0 20
endloop
endfacet
endsolid OBJECT
  1 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 10 月 28 日
Your text file seems to be of STL format. Is this the case? If so, then check the File Exchange for an STL (text) reader.

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

回答 (1 件)

DGM
DGM 2025 年 10 月 7 日 23:36
In R2018b or newer, just use stlread().
I don't remember what the best STLA decoder would have been in 2014, but nobody has a time machine anyway.

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by