Related to importing a stl file in matlab

4 views (last 30 days)
Sagar Chawla
Sagar Chawla on 21 Sep 2021
Commented: Sagar Chawla on 22 Sep 2021
I am trying to get the STL model in Matlab but I am unable to open an STL file in Matlab. Also, I want to see the side view, front view and top view of that STL file in Matlab in the form of animation like a tank is firing a bullet.

Answers (1)

Cris LaPierre
Cris LaPierre on 21 Sep 2021
You would need to use stlread to load an STL file into MATLAB. Once in, you can use the view function to see specific camera angles.
See this answer for an example.
I do not believe this is an approach you want to use to create an animation, but perhaps someone else knows more about how to accomplish that.
  5 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!