Main Content


Display PCB component structure or PCB shape

Since R2021b



show(pcbcomponent) displays the PCB component structure in the figure window.


show(shape) plots the shape as a filled region using patches.


collapse all

Create and view a default spiral inductor.

inductor = spiralInductor
inductor = 
  spiralInductor with properties:

          SpiralShape: 'Square'
        InnerDiameter: 5.0000e-04
                Width: 2.5000e-04
              Spacing: 2.5000e-04
             NumTurns: 4
               Height: 0.0010
    GroundPlaneLength: 0.0056
     GroundPlaneWidth: 0.0056
            Substrate: [1x1 dielectric]
            Conductor: [1x1 metal]


Create a curved U-bend with default properties.

curvedubend = ubendCurved
curvedubend = 
  ubendCurved with properties:

              Name: 'myCurvedubend'
    ReferencePoint: [0 0]
            Length: [0.0150 0.0050 0.0150]
             Width: [0.0050 0.0050 0.0050]
       CurveRadius: 0.0035

View the shape.


Input Arguments

collapse all

PCB component object, specified as a object handle.

Example: microstrip = microstripLine; show(microstrip)

Shape created using custom elements and shape objects of RF PCB Toolbox, specified as an object handle.

Example: shape = bendCurved; show(shape)

Version History

Introduced in R2021b