Simulink 中的定点设定
在 Simulink® 模型中创建和使用定点数据类型
使用 fixdt
和 Simulink.NumericType
在 Simulink 模型中指定定点数据类型。
函数
fixdt | 创建描述定点或浮点数据类型的 Simulink.NumericType 对象 |
类
Simulink.NumericType | 指定浮点数、整数或定点数据类型 |
主题
- Simulink 中的定点数
Simulink 中使用的定点数据类型和定标表示法。
- 显示端口数据类型
定点信号端口显示包含三个部分:数据类型、位数和定标。
- Pass Fixed-Point Data Between Simulink Models and MATLAB
Import data from MATLAB® into your Simulink models and log fixed-point simulation data to the workspace.
- Configure Blocks with Fixed-Point Output
Create fixed-point models by configuring Simulink blocks to output fixed-point signals.
- Model Multiple Data Type Behaviors Using a Data Dictionary
Example showing how to use referenced data dictionaries to store multiple sets of data types for a model.
- Sharing Fixed-Point Models
Data type override settings for sharing and editing a model containing fixed-point blocks without the Fixed-Point Designer™ software.
- Data Type Support
Lists the data types supported by the API and discusses the treatment of integers and data-type-overridden signals.