shape.Rectangle
Description
The shape.Rectangle
lets you create a rectangle with metal
material properties on the xy-plane, centered at the origin. Use this
rectangle along with the other shapes and the geometric operations to create a shape for the
custom antenna.
Creation
Description
creates a rectangle
centered at the origin and on the xy-plane.rect
= shape.Rectangle
sets properties
using one or more name-value arguments. rect
= shape.Rectangle(PropertyName=Value
)PropertyName
is the property
name and Value
is the corresponding value. You can specify several
name-value arguments in any order as PropertyName1=Value1
,
...
, PropertyNameN=ValueN
. Properties that you
do not specify retain their default values.
For example, rect = shape.Rectangle(Length=4)
creates a rectangle
with a length of 4 m and default values for other properties.
Properties
Object Functions
Examples
Version History
Introduced in R2023b