ElectromagneticMaterialAssignment Properties
findElectromagneticProperties
will be removed. Use the MaterialProperties
property of femodel
instead. (since R2023a) For more information on updating your code, see Version History.
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"
.