Related to importing a stl file in matlab

6 vues (au cours des 30 derniers jours)
Sagar Chawla
Sagar Chawla le 21 Sep 2021
Commenté : Sagar Chawla le 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.

Réponses (1)

Cris LaPierre
Cris LaPierre le 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 commentaires
Sagar Chawla
Sagar Chawla le 22 Sep 2021
Thanks for the answer.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by