MATLAB 中的插桩和可视化
收集仿真数据和统计数据,使用可视化在 MATLAB® 中探查您的设计
为算法中的定点变量选择定标可能相当困难。在 Fixed-Point Designer™ 软件中,您可以将数据类型覆盖和最小/最大记录与模型范围内的自动插桩结合使用,以帮助您发现定点数据类型需要覆盖的数值范围。这些范围决定您的定点数据类型的适当定标。
函数
buildInstrumentedMex | Generate compiled C code function including logging instrumentation |
showInstrumentationResults | Results logged by instrumented, compiled C code function |
clearInstrumentationResults | Clear results logged by instrumented, compiled C code function |
NumericTypeScope | Determine fixed-point data type |
主题
- Data Type Override Preferences Using fipref
Data type override using the
fipref
object. - Manual Fixed-Point Conversion Workflow
Learn about workflow for manual float-to-fixed conversion.
- Manual Fixed-Point Conversion Best Practices
Get from generic MATLAB code to an efficient fixed-point implementation using manual fixed-point conversion.
- 手动将浮点 MATLAB 算法转换为定点
将浮点型 MATLAB 算法手动转换为定点类型。