Error when importing STL file into Matlab
Mostrar comentarios más antiguos
Hi,
When I try to import my STL file into MATLAB I get en error message. What am I doing wrong?
figure
gm = importGeometry('Torus.stl');
pdegplot(gm)
Error: Check for missing argument or incorrect argument data type in call to function 'importGeometry'.
Respuesta aceptada
Más respuestas (1)
Sulaymon Eshkabilov
el 21 de Feb. de 2022
You are missing one important part in your command, see e.g.:
pdem = createpde(); % Missing
GM = importGeometry(pdem,'BEAM.stl'); % See how to add the missing piece
pdegplot(gm, 'FaceLabels','on', 'FaceAlpha',0.75)
1 comentario
Konvictus177
el 21 de Feb. de 2022
Editada: Konvictus177
el 21 de Feb. de 2022
Categorías
Más información sobre Geometry and Mesh en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!