Main Content

Code Generation and GPU Support

Generate portable C/C++/MEX functions and use GPUs to deploy or accelerate processing

After you develop your application using Signal Processing Toolbox™, you can generate portable C/C++ source code, standalone executables, or standalone applications from your MATLAB® code. With code generation, you can:

  • Run your simulation on machines that do not have MATLAB installed

  • Speed up processing while you work in MATLAB

Signal Processing Toolbox also includes functions that can target execution of an algorithm on a Graphics Processing Unit (GPU) rather than on a CPU. Some Signal Processing Toolbox functions can generate optimized CUDA® code for NVIDIA® GPUs from MATLAB code.

Featured Examples