- •Block Reference
- •Commonly Used
- •Continuous
- •Discontinuities
- •Discrete
- •Logic and Bit Operations
- •Lookup Tables
- •Math Operations
- •Model Verification
- •Model-Wide Utilities
- •Ports & Subsystems
- •Signal Attributes
- •Signal Routing
- •Sinks
- •Sources
- •User-Defined Functions
- •Additional Math & Discrete
- •Additional Discrete
- •Additional Math: Increment — Decrement
- •Run on Target Hardware
- •Target for Use with Arduino Hardware
- •Target for Use with BeagleBoard Hardware
- •Target for Use with LEGO MINDSTORMS NXT Hardware
- •Blocks — Alphabetical List
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Settings Pane
- •Measurements Pane
- •Signal Statistics Measurements
- •Settings Pane
- •Transitions Pane
- •Overshoots/Undershoots
- •Cycles
- •Settings Pane
- •Peaks Pane
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Command-Line Information
- •Function Reference
- •Model Construction
- •Simulation
- •Linearization and Trimming
- •Data Type
- •Examples
- •Main Toolbar
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Command-Line Alternative
- •Mask Icon Drawing Commands
- •Simulink Classes
- •Model Parameters
- •About Model Parameters
- •Examples of Setting Model Parameters
- •Common Block Parameters
- •About Common Block Parameters
- •Examples of Setting Block Parameters
- •Block-Specific Parameters
- •Mask Parameters
- •About Mask Parameters
- •Notes on Mask Parameter Storage
- •Simulink Identifier
- •Simulink Identifier
- •Model Advisor Checks
- •Simulink Checks
- •Simulink Check Overview
- •See Also
- •Identify unconnected lines, input ports, and output ports
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Check root model Inport block specifications
- •Description
- •Results and Recommended Actions
- •See Also
- •Check optimization settings
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for implicit signal resolution
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for optimal bus virtuality
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Identify disabled library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify parameterized library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •Tips
- •See Also
- •Identify unresolved library links
- •Description
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Results and Recommended Actions
- •Capabilities and Limitations
- •See Also
- •Check usage of function-call connections
- •Description
- •Results and Recommended Actions
- •See Also
- •Check signal logging save format
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check data store block sample times for modeling errors
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for potential ordering issues involving data store access
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for partial structure parameter usage with bus signals
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for calls to slDataTypeAndScale
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check for proper bus usage
- •Description
- •Results and Recommended Actions
- •Action Results
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Check for proper Merge block usage
- •Description
- •Input Parameters
- •Results and Recommended Actions
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check for non-continuous signals driving derivative ports
- •Description
- •Results and Recommended Actions
- •See Also
- •Runtime diagnostics for S-functions
- •Description
- •Results and Recommended Actions
- •See Also
- •Check file for foreign characters
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check model for known block upgrade issues
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Description
- •Results and Recommended Actions
- •Action Results
- •See Also
- •Check that the model is saved in SLX format
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Check Model History properties
- •Description
- •Results and Recommended Actions
- •See Also
- •Analyze model hierarchy for upgrade issues
- •Description
- •Results and Recommended Actions
- •Tips
- •See Also
- •Description
- •Results and Recommended Actions
- •See Also
- •Simulink Performance Advisor Checks
- •Simulink Performance Advisor Check Overview
- •See Also
- •Baseline
- •See Also
- •Check Preupdate Items
- •See Also
- •Checks that need Update Diagram
- •See Also
- •Checks that require simulation to run
- •See Also
- •Check Accelerator Settings
- •See Also
- •Create Baseline
- •See Also
- •Identify resource intensive diagnostic settings
- •See Also
- •Check optimization settings
- •See Also
- •Identify inefficient lookup table blocks
- •See Also
- •Identify Interpreted MATLAB Function blocks
- •See Also
- •Check MATLAB Function block debug settings
- •See Also
- •Check Stateflow block debug settings
- •See Also
- •Identify simulation target settings
- •See Also
- •Check model reference rebuild setting
- •See Also
- •Check Model Reference parallel build
- •See Also
- •Check solver type selection
- •See Also
- •Select normal or accelerator simulation mode
- •See Also
- •Simulink Limits
- •Maximum Size Limits of Simulink Models
- •Index
- •Filter Structures and Filter Coefficients
- •Valid Initial States
- •Number of Delay Elements (Filter States)
- •Frame-Based Processing
- •Sample-Based Processing
- •Valid Initial States
- •Frame-Based Processing
- •Sample-Based Processing
- •Model Parameters in Alphabetical Order
- •Common Block Parameters
- •Continuous Library Block Parameters
- •Discontinuities Library Block Parameters
- •Discrete Library Block Parameters
- •Logic and Bit Operations Library Block Parameters
- •Lookup Tables Block Parameters
- •Math Operations Library Block Parameters
- •Model Verification Library Block Parameters
- •Model-Wide Utilities Library Block Parameters
- •Ports & Subsystems Library Block Parameters
- •Signal Attributes Library Block Parameters
- •Signal Routing Library Block Parameters
- •Sinks Library Block Parameters
- •Sources Library Block Parameters
- •User-Defined Functions Library Block Parameters
- •Additional Discrete Block Library Parameters
- •Additional Math: Increment - Decrement Block Parameters
- •Mask Parameters
fxptdlg
Propose fraction lengths
Use range information and propose fraction lengths for model objects.
Action
Use this button to perform the first phase of the automatic data typing procedure, in which the Fixed-Point Tool uses range information for model objects—from design minimum and maximum values the objects specify explicitly, or from logged minimum and maximum values that occur during simulation, or from derived minimum and maximum values. Based on these values, the tool proposes fraction lengths for blocks whose:
•Lock output data type setting against changes by the fixed-point tools or Lock data type settings against changes by the fixed-point tools check box is cleared.
•Data type specifies a generalized fixed-point number.
The Fixed-Point Tool lists its scaling proposals in the Contents pane. The tool alerts you to potential scaling issues for each object in the list by displaying a green, yellow, or red icon, as shown here:
The proposed scaling poses no issues for this object.
The proposed scaling poses potential issues for this object. Open the Autoscale Information dialog box to review these issues.
The proposed scaling will introduce data type errors if applied to this object. Open the Autoscale Information dialog box for details about how to resolve these issues.
Command-Line Alternative
No command line alternative available.
4-172
fxptdlg
Propose word lengths
Use range information and propose word lengths for model objects.
Action
Use this button to perform the first phase of the automatic data typing procedure, in which the Fixed-Point Tool uses range information for model objects—from design minimum and maximum values the objects specify explicitly, or from logged minimum and maximum values that occur during simulation, or from derived minimum and maximum values. Based on these values, the tool proposes word lengths for blocks whose:
•Lock output data type setting against changes by the fixed-point tools or Lock data type settings against changes by the fixed-point tools check box is cleared.
•Data type specifies a generalized fixed-point number.
The Fixed-Point Tool lists its data type proposals in the Contents pane. The tool alerts you to potential issues for each object in the list by displaying a green, yellow, or red icon, as shown here:
The proposed data type poses no issues for this object.
The proposed data type poses potential issues for this object. Open the Result Details dialog box to review these issues.
The proposed data type will introduce errors if applied to this object. Open the Result Details dialog box for details about how to resolve these issues.
Command-Line Alternative
No command line alternative available.
4-173
fxptdlg
Propose data types
Propose fraction lengths for specified word lengths
Select to propose fraction lengths for the word lengths specified in the model.
Note This parameter appears only if the Automatic data typing for selected system Settings pane is displayed.
4-174
fxptdlg
Propose word lengths for specified fraction lengths
Select to propose word lengths for the fraction lengths specified in the model.
Note This parameter appears only if the Automatic data typing for selected system Settings pane is displayed.
4-175
fxptdlg
Default data type for all floating-point signals
Specifies the default data type to use for all floating-point signals
Use to change the floating-point data types in the model to fixed point.
Settings
Default:
Remain floating-point
Does not change the data type of floating-point signals.
Select this option if you are using the Fixed-Point Tool to derive minimum and maximum values for the model. To propose data types for the model, you must set the default data type to be a built-in integer or fixed-point data type.
Same as embedded hardware integer
Sets the default data type for all floating-point signals to the integer type specified for the target hardware.
Select this option if your target hardware is a microprocessor.
int8
Sets the default data type for all floating-point signals to int8.
int16
Sets the default data type for all floating-point signals to int16.
int32
Sets the default data type for all floating-point signals to int32.
fixdt(1,16,4)
Sets the default data type for all floating-point signals to the fixed-point data type specified by fixdt. You can modify the parameters provided to fixdt to specify signedness, word length and fraction length.
Dependency
This parameter appears only if you click the Configure link on the
Automatic data typing for selected system Settings pane.
4-176
fxptdlg
Derived min/max
Propose fraction or word lengths based on design and derived minimum and maximum information.
Settings
Default: On
On
Propose fraction or word lengths based on derived minimum and maximum values, but only for blocks that do not specify design minimum or maximum values using, for example, Output minimum and Output maximum parameters.
If Simulation min/max is also selected, the Fixed-Point Tool bases its proposal on both the derived and simulation min/max values and the proposed data types cover the union of the derived range and the simulation range.
Off
Ignore derived minimum and maximum values when proposing fraction lengths.
Command-Line Alternative
No command line alternative available.
Dependency
This parameter appears only if you click the Configure link on the
Automatic data typing for selected system Settings pane.
4-177