针对 QHL 的代码优化
R2026b使用代码替换,从模块、System object、数学函数和数学运算符生成针对数字信号处理的优化代码。
Qualcomm Hexagon 处理器需要满足特定条件才能使用 Qualcomm Hexagon Library(适用于标量处理器的 QHL)进行代码替换。当从模型中生成 C/C++ 代码时,您可以使用以下代码替换。
模块
| QHL IIR Interpolator | Interpolate signals using cascaded biquad IIR filter optimized for QHL (自 R2026b 起) | |
| Sqrt | Compute square root of fixed-point signal with QHL-compatible scaling (自 R2026b 起) |
对象
hexagon.IIRInterpolator | Interpolate signals using cascaded biquad IIR filter optimized for QHL (自 R2026b 起) |
主题
- Conditions for Code Replacement of DSP Blocks with QHL
Specify conditions for DSP blocks to allow code replacement with the Qualcomm Hexagon library.
- Conditions for Code Replacement of DSP System Objects with QHL
Specify conditions for DSP System objects to allow code replacement with the Qualcomm Hexagon library.
- Conditions for Code Replacement of Math Operators with QHL
Specify conditions for math operators to allow code replacement with the Qualcomm Hexagon library.
- Conditions for Code Replacement of MATLAB Functions with QHL
Specify conditions for MATLAB functions to allow code replacement with the Qualcomm Hexagon library (QHL).
- Conditions for Code Replacement of Simulink Blocks with QHL
Specify conditions for Simulink blocks to allow code replacement with the Qualcomm Hexagon library (QHL).
- Generate SIMD Code using Hexagon and HVX Instruction Set for Qualcomm Hexagon Processors
Learn how to generate SIMD code from MATLAB® functions using Hexagon and HVX instruction set for Qualcomm Hexagon processors. (自 R2026a 起)


