Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Collect Ranges

Benchmark idealized model behavior

The Fixed-Point Tool uses ranges collected during this phase of the conversion process to propose data types for your model. Do this step after you have prepared your system for conversionPrepare System for Conversion. You can collect ranges through simulation with instrumentation, range analysis, or a combination of the two. To determine which approach you should use, see Choosing a Range Collection Method.

Classes

DataTypeWorkflow.Converter Create fixed-point converter object

Topics

Simulation

Collect Ranges

Second step in autoscaling workflow.

Use Shortcuts to Manage Runs

How to add, edit and delete shortcuts to manage runs

Log Simulation Ranges for Referenced Models

How to log simulation minimum and maximum values for a model that contains multiple instances of the same referenced model.

Convert MATLAB Function Block to Fixed Point

Use the Fixed-Point Tool to convert a MATLAB® Function block to fixed-point

View Signal Names in Fixed-Point Tool

Control views in the Fixed-Point Tool.

Convert Floating-Point Model to Fixed Point

Details the steps taken to convert a floating-point model to fixed point.

Convert a Model to Fixed Point Using the Command Line

Use the command line interface of the Fixed-Point Tool to autoscale a model.

Fixed-Point Tool

Introduces the Fixed-Point Tool

Run Management

Learn how to manage multiple runs and set up shortcuts with the shortcut editor.

Logging Simulation Ranges for Referenced Models

The Fixed-Point Tool logs simulation minimum and maximum values (ranges) for referenced models.

Bus Objects in the Fixed-Point Workflow

This section describes how data type override behaves with bus objects, and how data types are determined for bus objects.

Autoscaling Using the Fixed-Point Tool

Workflow steps for autoscaling using simulation data.

The Command-Line Interface for the Fixed-Point Tool

Highlight the differences between the command-line interface workflow and the Fixed-Point Tool workflow

Fixed-Point Instrumentation and Data Type Override

Control fixed-point instrumentation and data type override settings to gather range information on your model.

Derived

Derive Ranges

How to derive range information using the Fixed-Point Tool

Derive Ranges at the Subsystem Level

Differences between deriving ranges at the model level and at the subsystem level

Derive Ranges for a Referenced Model

Derive ranges for a model that contains multiple instances of the same referenced model.

Derive Ranges Using Design Ranges

How range analysis using design range information when deriving ranges.

Derive Ranges Using Block Initial Conditions

This example shows how range analysis takes into account block initial conditions.

Derive Ranges for Simulink.Parameter Objects

This example shows how the range analysis takes into account design range information for Simulink.Parameter objects.

View Derived Ranges in the Fixed-Point Tool

How to view derived range information in the Fixed-Point Tool

Convert a Model with Buses to Fixed-Point Using Range Analysis

This section shows how to convert a floating-point model that contains bus objects to fixed-point using range analysis.

Derive Ranges of MATLAB Function Block Variables

Use the Fixed-Point Tool to convert a model containing a MATLAB Function block to fixed point using range analysis.

How Range Analysis Works

Describes how the analysis derives range information

Deriving Ranges for a Referenced Model

The Fixed-Point Tool derives minimum and maximum values for referenced models.

Unsupported Simulink Software Features

Overview of software features that are not supported for range analysis.

Simulink Blocks Supported for Range Analysis

Summary of range analysis support for Simulink® blocks.

Intermediate Range Results

Interpret the Intermediate Maximum and Intermediate Minimum results in the Result Details tab.

Troubleshooting

Prevent The Fixed-Point Tool From Overriding Integer Data Types

This section explains how to maintain integer data types in your model when using data type override

Resolve Range Analysis Issues

The following table shows the different types of range analysis issues and the steps to resolve them.

Fixing Design Range Conflicts

If you specify conflicting design minimum and maximum values in your model, the range analysis software reports an error.

Insufficient Design Range Information

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.

Providing More Design Range Information

This example demonstrates how to proceed if the analysis cannot derive range information because there is insufficient design range information.

Troubleshoot Range Analysis of System Objects

How to reconfigure a System Object, if necessary, so that ranges can be derived for the model.

Was this topic helpful?