PDE toolbox and load on nodes
조회 수: 20 (최근 30일)
이전 댓글 표시
I use the PDE Toolbox to analysis a discrete geometry, and I want to put the force vector on a point. But I can't define a point through the syntax "loadedVertex". Is there any other option to define the point? thank you!
댓글 수: 0
채택된 답변
Ravi Kumar
2019년 12월 10일
The function addVertex was introduced in R2019b. You might be running an older version of the MATLAB to get this error.
Regards,
Ravi
추가 답변 (2개)
Ravi Kumar
2019년 12월 12일
OK, in that case can you number the number of verteices in the model:
>> gm
Do you see the new VertexID in the plot you make?
Regards,
Ravi
댓글 수: 0
haoran liu
2019년 12월 13일
편집: haoran liu
2019년 12월 13일
댓글 수: 6
Ravi Kumar
2019년 12월 13일
Thank. Now I see the issue. You generated mesh before adding vertex. Do all geometry operation before generating mesh. If you move the addVertex to right below importGeometry, you should not get this error.
Regards,
Ravi
참고 항목
카테고리
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!