MATLAB: How to read a STL file with Matlab Dear all, I would like to convert a STL file with matlab. I use stlread but i can't read the file. Thank you for your help. Best regards, Best Answer Hi Abubacar,I think that you need to plot the surface of the STL file in a mesh.Sample code might be of helpb = figure(2);model = stl2matlab('ImageName.stl');patch(model{1},model{2},model{3},'b');axis equal; view(30,60);Wish you luck Related SolutionsMATLAB: Convert patch Matlab to file STL Check this:https://www.mathworks.com/help/releases/R2019b/matlab/ref/stlwrite.htmlhttps://www.mathworks.com/help/releases/R2019b/matlab/ref/stlread.htmlor:https://in.mathworks.com/matlabcentral/fileexchange/20922-stlwrite-filename--varargin-https://in.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader MATLAB: Finite Element Triangular Mesh Generator https://www.mathworks.com/help/matlab/delaunay-triangulation.html Related QuestionConverting RGB surf plot to stl file for 3D printing
Best Answer