How can I convert surface plot into STL format file?

6 views (last 30 days)
siddhartha paudel
siddhartha paudel on 16 May 2022
Commented: KSSV on 16 May 2022
I want to know whats the further process to convert the surface plot into STL file ?
I have downloaded the file from https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl then whats the next process to follow it?
  2 Comments
siddhartha paudel
siddhartha paudel on 16 May 2022
I am a begineeer so i didnt understand. can you helo me to get through it?

Sign in to comment.

Answers (1)

KSSV
KSSV on 16 May 2022
[X,Y,Z] = peaks(100) ;
surf2stl('test.stl',X,Y,Z)
  7 Comments
KSSV
KSSV on 16 May 2022
You have to change the path to the folder, where you have the function.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by