stlread not working as expected

조회 수: 10 (최근 30일)
Francesca Pittoni
Francesca Pittoni 2022년 2월 3일
댓글: Francesca Pittoni 2022년 2월 5일
Hi everyone.
I have an STL obtained from 3D slicer, and if I import it to matlab with stlread ('STL.stl'), I don't obtain a triangulation with points and connectivity list (which I got for other STLs with the same command), but a 1x1 struct containing the coordinates of faces and vertices .
Does anyone know why?
  댓글 수: 4
Walter Roberson
Walter Roberson 2022년 2월 3일
Which MATLAB release are you using? I just tried in R2021b and I get a triangulation out, which is what is expected.
Francesca Pittoni
Francesca Pittoni 2022년 2월 5일
Solved, I realized I had the function "stlread.m" in a subfolder, that made the built-in matlab stlread do something else then expected. Thank you!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by