Components with Rescalable Elements

For each instance of a component, a rescaling formula can be selected in the implementation editor of the parent component or project. A formula used as rescaling formula must be linear with zero offset and positive scale.

If the component contains basic elements (scalar elements, arrays, matrices) with a rescalable implementation, errors are issued in the following cases:

If the component does not contain basic elements with a rescalable implementation, and a rescaling formula is specified, a warning WMdl47 is generated that the rescaling formula is ignored.

The arithmetic operations for rescalable elements are restricted, see Operations with Rescalable Elements.

The formula of a rescalable element that is accessible from outside the owning component (method argument or method return) is not rescalable for executable bodies outside the component. The formula has the scale of the element multiplied with the scale of the rescaling formula on the component instance implementation.

See also

Elements with Rescalable Implementation

Operations with Rescalable Elements

Integer Arithmetic with Rescalable Elements

Specifying Rescalable Implementations

Project Editor – Transformation Formulas

Implementation Editor for Components/Projects