Simulink 中的定点设定
使用 fixdt
和 Simulink.NumericType
在 Simulink 模型中指定定点数据类型。
函数
fixdt | 创建描述定点或浮点数据类型的 Simulink.NumericType 对象 |
类
Simulink.NumericType | 指定浮点数、整数或定点数据类型 |
主题
- Simulink 中的定点数
Simulink 中使用的定点数据类型和定标表示法。
- 显示端口数据类型
定点信号端口显示包含三个部分:数据类型、位数和定标。
- Pass Fixed-Point Data Between Simulink Models and MATLAB
Reading fixed-point data from MATLAB® into your Simulink models, and logging fixed-point information from your models and simulations to the workspace.
- Configure Blocks with Fixed-Point Output
Fixed-point model creation by configuring Simulink blocks to output fixed-point signals.
- 定点 Simulink 模块的舍入模式
定点 Simulink 模块支持七种不同舍入模式。
- 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.