Main Content


Display dielectric volume mesh of antenna or array

Since R2023b



showDielectricVolumeMesh(m) displays the dielectric volume mesh of the antenna or array.

showDielectricVolumeMesh(___,Name=Value) displays the dielectric volume mesh, with additional properties specified by one or more Name-Value Arguments.


collapse all

This example shows how to read mesh parameters of a microstrip patch antenna and view the metal, dielectric, and complete mesh.

Create Microstrip Patch Antenna

Create a microstrip patch antenna with copper conductor and FR4 PCB substrate. Run impedance analysis on this antenna at 1.67 GHz to automatically generate the mesh.

p = patchMicrostrip(Conductor=metal("Copper"), Substrate=dielectric("FR4"));

Read Mesh Parameters of Antenna

Read the mesh parameters such as number of points, triangles, and tetrahedra, maximum and minimum edge length, mesh growth rate, and quality using the MeshReader object.

m = mesh(p)
m = 
  MeshReader with properties:

                Points: [3x1644 double]
             Triangles: [4x2014 double]
            Tetrahedra: [4x4620 double]
         MaxEdgeLength: 0.0044
         MinEdgeLength: 2.2012e-04
            GrowthRate: 0.9500
    MinimumMeshQuality: 0.0803
              MeshMode: 'auto'

View Mesh of Antenna

View the metal mesh.


View the dielectric surface mesh.


View the dielectric volume mesh.


View the overall mesh.


Input Arguments

collapse all

Parameters of the mesh, specified as a MeshReader object.

Example: MeshReader object created using the mesh function.

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: Slicer=1

Layer number of the dielectric counted from the bottom of the stack, specified as a integer scalar.

Example: 2

Data Types: double

Option to enable or disable plot interactivity, specified as "on" or "off", or as numeric or logical 1(true) or 0(false). Set this argument to 1 or "on" to open the plot with the slicer panel, and to slice and view the desired cross section of the plot along the xy-, yz-, and xz-planes. Set this argument to 0 or "off" to open the plot without the slicer panel.

Example: 1

Example: true

Example: "on"

Data Types: double | logical | string

Version History

Introduced in R2023b

See Also