How can I fix this error "Error using pde.PDEModel/geometryFromEdges (line 46) Assemblies of more than one geometric model are not currently supported. “ ?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kaveh Gharibi
am 26 Jul. 2016
Kommentiert: Kaveh Gharibi
am 1 Aug. 2016
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."
0 Kommentare
Akzeptierte Antwort
Damian Sheehy
am 26 Jul. 2016
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)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!