System objects in DSP System Toolbox that Support SIMD Code Generation
When certain conditions are met, you can generate SIMD code from MATLAB® System objects in DSP System Toolbox™ using these two approaches:
Intel® AVX2 code replacement library — Requires MATLAB Coder™ license and Embedded Coder® license. For more information on this workflow, see Use Intel AVX2 Code Replacement Library to Generate SIMD Code from MATLAB Algorithms.
InstructionSetExtensions configuration parameter — Requires MATLAB Coder license or Embedded Coder license. For more information on this workflow, see Use Target Hardware Instruction Set Extensions to Generate SIMD Code for MATLAB System Objects for Intel Platforms, Use Target Hardware Instruction Set Extensions to Generate SIMD Code from MATLAB System Objects for Apple silicon and ARM Cortex-A Processors.
The following table contains a list of all System objects in DSP System Toolbox that support SIMD code generation. For more information on the conditions under which these objects generate SIMD code, see the Extended Capabilities > C/C++ Code Generation sections in the respective object reference pages.
| MATLAB System objects | Using Intel AVX2 code replacement library | Using InstructionSetExtensions parameter |
|---|---|---|
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Supports these hardware devices:
| |
| ✓ | Supports these hardware devices:
| |
| ✓ | Not supported | |
| ✓ | Supports these hardware devices:
| |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported | |
| ✓ | Not supported |
See Also
Topics
- Simulink Blocks in DSP System Toolbox that Support SIMD Code Generation
- Use Intel AVX2 Code Replacement Library to Generate SIMD Code from MATLAB Algorithms
- Use Target Hardware Instruction Set Extensions to Generate SIMD Code for MATLAB System Objects for Intel Platforms
- Use Target Hardware Instruction Set Extensions to Generate SIMD Code from MATLAB System Objects for Apple silicon and ARM Cortex-A Processors