You can use the Simulation Data Inspector with the MATLAB® Coder™ app to inspect and compare floating-point and fixed-point logged input and output data.
On the Convert to Fixed Point page,
Click the Settings arrow .
Expand the Plotting and Reporting settings
and set Plot with Simulation Data Inspector to Yes
.
Click the Test arrow . Select Log
inputs and outputs for comparison plots, and then click Test.
For an example, see Propose Fixed-Point Data Types Based on Derived RangesPropose Data Types Based on Derived Ranges (Fixed-Point Designer).