医生umentation

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 Capability More 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

调试定点模型

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®Analysismenu, selectData Type Design>Fixed-Point Tool.

  • From the model context menu, selectFixed-Point Tool.

  • From a subsystem context menu, selectFixed-Point Tool.

If you want to open the tool programmatically, use thefxptdlgfunction. For more information, seefxptdlg.

See Also

Related Topics

Was this topic helpful?