Is there an STL file generator for MatLab?

14 views (last 30 days)
Ivan Handler up
Ivan Handler up on 22 Dec 2016
Commented: DGM on 7 Oct 2025 at 16:02
I am generating 3D images that I want to render with a 3D printer. I need to generate STL files to accomplish this task. I was wondering if there is any code out there for that, otherwise I can generate it, but it will take some time.

Accepted Answer

KSSV
KSSV on 22 Dec 2016
  2 Comments
DGM
DGM on 11 Jul 2025
Edited: DGM on 7 Oct 2025 at 15:50
Since R2018b, MATLAB has built-in STL tools
For legacy versions needing third-party tools, I'd recommend these tools over #22409/#20922. This explains why.

Sign in to comment.

More Answers (1)

Young Dae
Young Dae on 14 Sep 2018
  1 Comment
DGM
DGM on 7 Oct 2025 at 16:02
To be specific, this converts volumetric raster images into STL. That might be a more exact interpretation of the question, but it's unknown if the wording of the question was intentional.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!