Error when importing STL file into Matlab
    조회 수: 9 (최근 30일)
  
       이전 댓글 표시
    
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'.
댓글 수: 0
채택된 답변
  Sulaymon Eshkabilov
      
 2022년 2월 21일
        If you want to create a geometry using some edge coordinates, then hit this help:
doc geometryFromEdges % Explains via a good simple example: Geometry from Decomposed Solid Geometry
댓글 수: 0
추가 답변 (1개)
  Sulaymon Eshkabilov
      
 2022년 2월 21일
        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)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

