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 |
|
Proposing data types based on simulation data |
|
Proposing data types based on derived ranges |
|
Proposing data types based on simulation data from multiple runs |
|
调试定点模型 |
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 thefxptdlg
function. For more information, seefxptdlg
.