Error using STLWRITE function
Ältere Kommentare anzeigen
tr=triangulation(whitevol.faces,whitevol.vertices);
figure('color','w'), h=trimesh(tr); axis equal
% now write to STL
stlwrite(tr,'cranialSegment.stl');
I'm trying to compute and export a .stl file using the code above. However I keep getting the errors mentioned below. What does this error mean? I was able to export the 3D data before just fine, but for some reason I am now getting these errors.
Error using fileparts (line 58)
Input must be a row vector of characters, or a string scalar, or a cellstr, or a string
matrix.
Error in stlwrite (line 70)
path = fileparts(filename);
Error in test3 (line 133)
stlwrite(tr,'cranialSegment.stl','binary');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Polar Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!