||Determine fixed-point data type|
Fourth step in autoscaling using range analysis workflow.
Use the Fixed-Point Tool to scale fixed-point data types in a model.
This example shows how to use the Fixed-Point Tool to propose word lengths for a model that implements a simple moving average algorithm.
This example shows how to propose data types for a referenced model.
Fifth step in autoscaling using range analysis workflow.
Final step in autoscaling using range analysis workflow.
Interpret the Intermediate Maximum and Intermediate Minimum results in the Result Details tab.
This section shows how to convert a floating-point model that contains bus objects to fixed-point using range analysis.
Introduces the Fixed-Point Tool
There are three automatic data typing methods for converting your system to fixed point.
Take these actions to prepare your model for fixed-point conversion.
Modeling best practices for converting a model to fixed point.
The Fixed-Point Tool uses specified fraction lengths to recommend the minimum word length for objects to avoid overflow for the collected range information.
Blocks can inherit data types from a variety of sources. You can get data type proposals for blocks that use inherited output data types using the Fixed-Point Tool.
This section describes how data type override behaves with bus objects, and how data types are determined for bus objects.
Follow these best practices for a smoother conversion process from floating point to fixed point.
Autoscaling Simulink signal objects
Workflow for autoscaling a model using range analysis.
Highlight the differences between the command-line interface workflow and the Fixed-Point Tool workflow
The Simulink Block Data Type Support table summarizes characteristics of blocks in the Simulink® block library, including whether or not they support fixed-point data types.
Overview of modeling practices that could cause data type propagation errors after autoscaling.
Under certain conditions, the Fixed-Point Tool may propose a data type that is not compatible with the model.
This section explains what to do when the Fixed-Point Tool does not propose any data types.
This example shows how to replace a structure initial condition