The Expression block is calculated as inputted Expression by user after inputting the array and then it is outputted the scalar value. Here, u[1] is the first value of inputted array, u[2] is the second value of inputted array. The Expression supports the four arithmetical operations using the input, the parametric value, the working value.
Dialog Box
Figure 1 Expression dialog box
Parameters
Parameter(s) |
Description |
Number of Input Ports |
Defines the number of input ports. |
Number of Output Ports |
Defines the number of output ports. |
Expression |
Defines user’s expressions. |