MATLAB Answers

Import STL file and convert to Matrix

10 views (last 30 days)
Marvin Rohatsch
Marvin Rohatsch on 2 Sep 2021
Answered: darova on 5 Sep 2021
Hello,
I want to measure the Hausdorff-Distance between two STL meshes. Is it possible to import the STL-Data and convert it in matrix where every point has its x,y,z-coordinate?
Thanks!

Answers (2)

Jan
Jan on 2 Sep 2021
  1 Comment
Marvin Rohatsch
Marvin Rohatsch on 5 Sep 2021
I tried it, but i'm not able to use the matrix. I can only plot it ...

Sign in to comment.


darova
darova on 5 Sep 2021
Try stlread to import geometry
Use griddata to interpolate data

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by