View documentation for other releases
Learn more about Simulink Fixed Point
• Getting Started
• Product Description
Key Features
• What You Need to Get Started
Installation
Sharing Fixed-Point Models
Demos
• Physical Quantities and Measurement Scales
Introduction
Selecting a Measurement Scale
Example: Selecting a Measurement Scale
Why Use Fixed-Point Hardware?
Why Use the Simulink Fixed Point Software?
The Development Cycle
Data Type Support
• Simulink Fixed Point Software Features
Configuring Blocks with Fixed-Point Output
Configuring Blocks with Fixed-Point Parameters
Passing Fixed-Point Data Between Simulink Models and the MATLAB Software
Automatic Data Typing Tools
Code Generation Capabilities
• Cast from Doubles to Fixed Point
About This Example
Block Descriptions
Simulations
• User's Guide
• Data Types and Scaling
Data Types and Scaling in Digital Hardware
• Fixed-Point Numbers
• Floating-Point Numbers
• Arithmetic Operations
Fixed-Point Arithmetic Operations
• Precision
• Range
• Recommendations for Arithmetic and Scaling
• Parameter and Signal Conversions
• Rules for Arithmetic Operations
Conversions and Arithmetic Operations
• Realization Structures
• Realizing Fixed-Point Digital Filters
• Targeting an Embedded Processor
• Canonical Forms
• Fixed-Point Advisor
• Preparation for Fixed-Point Conversion Using the Fixed-Point Advisor
• Converting a Model from Floating- to Fixed-Point Using Simulation Data
• Fixed-Point Tool
• Overview of the Fixed-Point Tool
• Run Management
• Debug a Fixed-Point Model
• Automatically Converting a Floating-Point Model to Fixed Point
Learning Objectives
• Model Description
Before You Begin
Key Points to Remember
Where to Learn More
• Tutorial: Producing Lookup Table Data
Producing Lookup Table Data
• Worst-Case Error for a Lookup Table
• Create Lookup Tables for a Sine Function
Use Lookup Table Approximation Functions
• Effects of Spacing on Speed, Error, and Memory Usage
• Automatic Data Typing
About Automatic Data Typing
Before Using the Fixed-Point Tool to Propose Data Types for Your Simulink Model
• Best Practices for Using the Fixed-Point Tool to Propose Data Types for Your Simulink Model
Models That Might Cause Data Type Propagation Errors
• Automatic Data Typing Using Simulation Data
• Automatic Data Typing Using Derived Minimum and Maximum Values
• Propose Fraction Lengths
• Propose Word Lengths
• Propose Data Types For a Model Using Results from Multiple Simulations
• Range Analysis
• How Range Analysis Works
Derive Ranges
• Derive Ranges at the Subsystem Level
View Derived Range Information in the Fixed-Point Tool
• Range Analysis Examples
Unsupported Simulink Software Features
• Supported and Unsupported Simulink Blocks
• Code Generation
Generating and Deploying Production Code
• Code Generation Support
Accelerating Fixed-Point Models
• Using External Mode or Rapid Simulation Target
• Optimize Your Generated Code
• Optimizing Your Generated Code with the Model Advisor
• Fixed-Point Advisor Reference
• Prepare Model for Conversion
• Prepare for Data Typing and Scaling
• Return to the Fixed-Point Tool to Perform Data Typing and Scaling
• Writing Fixed-Point S-Functions
• Data Type Support
Structure of the S-Function
• Storage Containers
• Data Type IDs
• Overflow Handling and Rounding Methods
Create MEX-Files
• Fixed-Point S-Function Examples
API Function Reference
Selected Bibliography
Glossary
• Functions
Examples
• Release Notes
Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Alphabetical List