Documentation

Fixed-Point Tool

Introduction to the Fixed-Point Tool

The Fixed-Point Tool is a user interface that automates specifying fixed-point data types in a model. The tool collects range data for model objects. The range data comes from either design minimum and maximum values that objects specify explicitly, from logged minimum and maximum values that occur during simulation, or from minimum and maximum values derived using range analysis. Based on these values, the tool proposes fixed-point data types that maximize precision and cover the range. You can then review the data type proposals and apply them selectively to objects in your model.

Fixed-Point Tool CapabilityMore Information

Deriving range information based on specified design range

How Range Analysis Works

Proposing data types based on simulation data

Autoscaling Using the Fixed-Point Tool

Proposing data types based on derived ranges

Autoscaling Using the Fixed-Point Tool

Proposing data types based on simulation data from multiple runs

Propose Data Types For Merged Simulation Ranges

Debugging fixed-point models

Debug a Fixed-Point Model

Using the Fixed-Point Tool

To open the Fixed-Point Tool, use any of the following methods:

  • From the Simulink® Analysis menu, select Data Type Design > Fixed-Point Tool.

  • From the model context menu, select Fixed-Point Tool.

  • From a subsystem context menu, select Fixed-Point Tool.

If you want to open the tool programmatically, use the fxptdlg function. For more information, see fxptdlg.

See Also

Related Topics

Was this topic helpful?