MinMax
Output the minimum and the maximum element of the input vector
![]()
Library
Modelica/Blocks/Math
Description
Determines the minimum and maximum element of the input vector andprovide both values as output.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_nu | nu | Number of input connections | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
u | implicit | input | 1 | |
yMax | implicit | output | 1 | |
yMin | implicit | output | 2 |