Matlab to CAD Program

27 views (last 30 days)
hendra prima
hendra prima on 1 Aug 2012
Commented: Alaa Aldeen on 28 Apr 2022
Hi all,
What is the best way to import matlab 3D surface to CAD program ?
Thank you

Accepted Answer

Kevin Moerman
Kevin Moerman on 30 Aug 2012
A simple way of doing it would be to first create a triangulated representation of your surface (e.g. based on Delaunay tessellation or if derived from a quadrilateral mesh see my file submission mesh2tri). If you have a list of faces (triangles) and vertices then you can export this to STL format (which is basically a file containing your triangle list) which can be imported into CAD software. I think there are various files submitted to the file exchange concerning exporting of STL files.
  1 Comment
Christine Tobler
Christine Tobler on 13 Dec 2018
Since R2018b, there are also functions stlread and stlwrite in MATLAB.

Sign in to comment.

More Answers (0)


Find more on Model Import in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!