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'.

Data Types: char | string

Face ID, returned as a vector of positive integers. Find the face IDs by using pdegplot with the 'FaceLabels' 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 or nonlinear 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 or nonlinear 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