Signal Processing Code Generation

Signal processing code generation converts design algorithms to embedded code much faster and easier than with hand coding, allowing companies to reduce GPS development time and cost by 40%, rapidly develop 5G RF components, and deploy an optical sensor to a DSP with optimized code.

With over twenty years of embedded code generation success, MathWorks continues to develop technologies that production organizations use for:

  • Signal processing design
  • Embedded code generation
  • Embedded code verification and profiling

“Now that we have a complete design and code-generation tool chain based on Simulink and Embedded Coder, most field test changes occur in minutes. This would have been impossible to do using manual approaches.”

Signal Processing Design

MATLAB, Simulink, Signal Processing Toolbox, and DSP System Toolbox are well-established for designing signal processing systems. They accelerate design, automate analysis, and enable early verification. With Fixed-Point Designer, engineers perform bit-true simulation, automate floating- to fixed-point data conversion, and detect overflows.

Detect and debug overflows.

Detecting root cause of an overflow.

Embedded Code Generation

Embedded Coder extends MATLAB Coder and Simulink Coder to generate optimized embedded code from MATLAB files and Simulink models. ANSI/ISO C or C++ is generated by default for any device. In addition, code is easily optimized for specific MCUs and DSPs using flexible APIs. Integrating handwritten code during simulation and code generation is supported. Use GPU Coder to generate code for GPUs.

Embedded Code Verification and Profiling

Processor-in-the-loop (PIL) testing and execution profiling form the cornerstone of signal processing code verification by automating execution result comparison with the algorithm reference model behavior. Generated code can be compiled as a library for integrating into a parent embedded project. PIL testing and profiling for measuring task and function performance along with processor-specific archived library creation is available for embedded processors using extensible PIL APIs. You can author, execute, review, and organize tests and test suites using Simulink Test.