Using Simulink     Search    Help Desk 
Product

Generate the product or quotient of block inputs.

Library

Math

Description

The Product block multiplies or divides block inputs, depending on the value of the Number of inputs parameter:

If necessary, Simulink resizes the block to show all input ports. If the number of inputs is changed, ports are added or deleted from the bottom of the block.

Data Type Support

The Product block accepts real- or complex-valued signals of any data type. All input signals must be of the same data type. The output signal data type is the same as the input's.

Parameters and Dialog Box

Number of inputs
Either the number of inputs to the block or a combination of * and / symbols. The default is 2.
Saturate on integer overflow
If selected, this option causes the output of the Product block to saturate on integer overflow. In particular, if the output data type is an integer type, the block output is the maximum value representable by the output type or the computed output, whichever is smaller in the absolute sense. If the option is not selected, Simulink takes the action specified by the Data overflow event option on the Diagnostics page of the Simulation Parameters dialog (see "The Diagnostics Page").

Characteristics

Direct Feedthrough
Yes
Sample Time
Inherited from driving block
Scalar Expansion
Yes
Vectorized
Yes
Zero Crossing
No



[ Previous | Help Desk | Next ]