| Using Simulink | Search  Help Desk |
| Rounding Function |
Library
MathDescription
floor, ceil, round, and fix. The block output is the result of the function operating on the input or inputs. The Rounding Function block accepts and outputs real- or complex-valued signals of type double.
The name of the function appears on the block icon.
Use the Rounding Function block instead of the Fcn block when you want vectorized output because the Fcn block can produce only scalar output.
Data Type Support
A Rounding Function block accepts and outputs real signals of typedouble.
Parameters and Dialog Box

Characteristics
| Direct Feedthrough |
Yes |
| Sample Time |
Inherited from driving block |
| Scalar Expansion |
N/A |
| Vectorized |
Yes |
| Zero Crossing |
No |