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

1 view (last 30 days)
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!

Accepted Answer

Alan Weiss
Alan Weiss on 1 Nov 2018
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

More Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!