필터 지우기
필터 지우기

How can I fix this error "Error using pde.PDEMod​el/geometr​yFromEdges (line 46) Assemblies of more than one geometric model are not currently supported. “ ?

조회 수: 10 (최근 30일)
I use Matlab PDE toolbox and I get this error in my code. How can I fix this error?
"Error using pde.PDEModel/geometryFromEdges (line 46) Assemblies of more than one geometric model are not currently supported."

채택된 답변

Damian Sheehy
Damian Sheehy 2016년 7월 26일
If you wish to combine two sets of edges then do that before calling geometryFromEdges. If you want to replace an existing geometry with a new one then delete the existing geometry first and then call geometryFromEdges. You can delete the existing geometry as follows:
pdem = createpde
g = @squareg
geometryFromEdges(pdem,g)
delete(pdem.Geometry)
pdem.Geometry = []
% Now you can call geometryFromEdges again
geometryFromEdges(pdem,g)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by