This example shows that if the analysis cannot derive range information because there is insufficient design range information, you can fix the issue by providing additional input design minimum and maximum values.
At the MATLAB® command line, enter:
The model displays the specified design minimum and maximum values for the blocks in the model.
The Inport block
a design minimum of
-1 but no specified maximum
value, as shown by the annotation,
The Gain block has a design range of
The Outport block
no design range specified, as shown by the annotations,
To display design ranges in your model, from the model menu select Display > Signals & Ports and select Design Ranges.
From the Simulink® Analysis menu, select Data Type Design > Fixed-Point Tool.
In the Fixed-Point Tool, in the Prepare System section of
the toolstrip, under System under design, select
ex_derived_min_max_4 as the system you want to
In the Collect Ranges section of the toolstrip, select Derived Ranges.
Click the Collect Ranges button.
The Fixed-Point Tool displays the derived minimum and maximum values for the blocks in the
model. The range analysis is unable to derive a maximum value for the
In1. The tool highlights
To fix the issue, specify a design maximum value for
In the model, double-click the Inport block,
In the block parameters dialog box, select the Signal Attributes tab.
On this tab, set Maximum to
The model displays the updated maximum value in the block annotation
Click the Collect Ranges button again to rerun the range analysis.
The range analysis can now derive ranges for the Inport and Gain blocks.
Uses specified design range on the block.
The design range specified on the Gain block
Same as Gain block output because no locally specified design range on Outport block.