Skip to Main Content Skip to Search
Product Documentation

MinMax Running Resettable - Determine minimum or maximum of signal over time

Library

Math Operations

Description

The MinMax Running Resettable block outputs the minimum or maximum of all past inputs u. You specify whether the block outputs the minimum or the maximum with the Function parameter.

The block can reset its state based on an external reset signal R. When the reset signal R is TRUE, the block resets the output to the value of the Initial condition parameter.

The input can be a scalar, vector, or matrix signal. If you specify a scalar Initial condition parameter, the block expands the parameter to have the same dimensions as a nonscalar input. The block outputs a signal having the same dimensions as the input. Each output element equals the running minimum or maximum of the corresponding input elements.

Data Type Support

The MinMax Running Resettable block accepts and outputs real signals of any numeric data type that Simulink supports, except Boolean. The MinMax Running Resettable block supports fixed-point data types.

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

Function

Specify whether the block outputs the minimum or the maximum.

Initial condition

Specify initial condition.

Characteristics

Direct Feedthrough

Yes

Scalar Expansion

Yes

See Also

MinMax

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS