Main Content

PS Max

Output maximum of two input physical signals

  • PS Max block

Libraries:
Simscape / Foundation Library / Physical Signals / Nonlinear Operators

Description

The PS Max block outputs the maximum of its two input physical signals:

O=max(I1,I2)

where

I1Physical signal at the first input port
I2Physical signal at the second input port
OPhysical signal at the output port

Physical signals at the two input ports must have commensurate units. The unit at the output port is determined by unit propagation rules. For more information, see Physical Signal Unit Propagation.

Ports

Input

expand all

First input physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Second input physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Output

expand all

Output physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007b

expand all