| Fixed-Point Blockset | ![]() |
Prepare a Simulink model for more complete conversion to fixed-point data types
Syntax
Description
fixpt_convert_prep('SystemName')
prepares the Simulink model or subsystem specified by SystemName for more complete conversion (less encapsulation) to fixed-point data types using the fixpt_convert function. It does so by replacing this select set of blocks:
fixpt_convert_lib library. The old style Latch block contains a Transport Delay block, which is a very inefficient implementation for both floating-point and fixed-point data types.
fixpt_convert_lib library. Alternatively, you can use fixpt_convert_prep as a prototype for creating a customized list of function blocks to be replaced. To do this, copy the function and the library to another directory, and then customize the library to include function blocks that you commonly encounter when converting models from floating point to fixed-point.
| Note This function is meant to be a starting point for customizing the Simulink to Fixed-Point Blockset conversion process. |
See Also
| fixpt_convert | fixpt_interp1 | ![]() |