ElectromagneticMaterialAssignment Properties
Domain-specific electromagnetic workflow is not recommended. New features might not be compatible with this workflow. For help migrating your existing code to the unified finite element workflow, see Migration from Domain-Specific to Unified Workflow.
An ElectromagneticMaterialAssignment
object describes the
material properties of an electromagnetic model. An ElectromagneticModel
object contains a vector of ElectromagneticMaterialAssignment
objects in its
MaterialProperties.MaterialAssignments
property.
Create material property assignments for your electromagnetic model using the electromagneticProperties
function.
Properties
Tips
When there are multiple assignments to the same face, the toolbox uses the last applied setting.
To avoid assigning material properties to the wrong region, check that you are using the correct face IDs and cell IDs by plotting and visually inspecting the geometry. Use
pdegplot
with the"FaceLabels"
or"CellLabels"
name-value argument set to"on"
.
Version History
Introduced in R2021a