How can I fix this error "Error using pde.PDEModel/geometryFromEdges (line 46) Assemblies of more than one geometric model are not currently supported. “ ?
5 ビュー (過去 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."
0 件のコメント
採用された回答
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 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!