Create triangular or tetrahedral mesh
generateMesh( creates a mesh and
stores it in the model)model object. model must
contain a geometry. To include 2-D geometry in a model, use geometryFromEdges. To include 3-D geometry, use importGeometry or geometryFromMesh.
generateMesh can return slightly different meshes in
different releases. For example, the number of elements in the mesh can change.
Avoid writing code that relies on explicitly specified node and element IDs.
generateMesh(
modifies the mesh creation according to the model,Name,Value)Name,Value
arguments.
also returns the mesh to the MATLAB® workspace, using any of the previous syntaxes.mesh = generateMesh(___)
FEMesh Properties | geometryFromEdges | importGeometry | PDEModel