Main Content

ElectromagneticMaterialAssignment Properties

Electromagnetic material properties assignments

An ElectromagneticMaterialAssignment object describes the material properties of an electromagnetic model. An ElectromagneticModel container has a vector of ElectromagneticMaterialAssignment objects in its MaterialProperties.MaterialAssignments property.

Create material property assignments for your electromagnetic model using the electromagneticProperties function.

Properties

expand all

Geometric region type, returned as 'Face' for a 2-D geometry or 'Cell' for a 3-D geometry.

Data Types: char | string

Region ID, returned as a vector of positive integers. Find the face or cell IDs by using pdegplot with the 'FaceLabels' or 'CellLabels' name-value argument set to 'on'.

Data Types: double

Relative permittivity of the material, returned as a positive number for constant material properties or a function handle for a nonconstant material.

Data Types: double | function_handle

Relative permeability of the material, returned as a positive number for constant material properties or a function handle for a nonconstant material.

Data Types: double | function_handle

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, ensure that you are using the correct face IDs by plotting and visually inspecting the geometry.

Introduced in R2021a