MATLAB R2017b Error: "Node coordinates should be 3-D, the matrix should have size 3-by-numnodes"

1 次查看(过去 30 天)
I follow the instructions given on this page: https://de.mathworks.com/help/pde/ug/2-d-geometry-from-polyshape.html
But I get the error: "Node coordinates should be 3-D, the matrix should have size 3-by-numnodes" in MATLAB R2017b trial version with only PDE toolbox.
On the other hand, when I try the same code on MATLAB R2018b version, I get no error!

采纳的回答

Alan Weiss
Alan Weiss 2018-11-1
I believe that geometryFromMesh was originally for 3-D meshes, and was extended to 2-D meshes in R2018a.
Alan Weiss
MATLAB mathematical toolbox documentation

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by