Generate C or C++ source code, or a MEX function from DSP System Toolbox™ signal processing algorithms using MATLAB® Coder™ and Simulink® Coder. To learn how to generate C code, see Understanding C Code Generation in DSP System Toolbox. In addition, you can generate code optimized for ARM Cortex-M Processors and ARM Cortex-A Processors using Embedded Coder®. For more information, see ARM Cortex-M and ARM Cortex-A Optimization. You can also tune your algorithm parameters directly from MATLAB or Simulink in real time via the UI while your generated C code executes on the desktop.
you can generate a multithreaded MEX file, which leverages the multicore
CPU architecture of the host computer. To use this function, you must
have a MATLAB
You can use MATLAB and Simulink for rapid prototyping of hardware designs. Some DSP System Toolbox algorithms support HDL code generation when used with HDL Coder™. For a list of supported blocks and System objects, see HDL Code Generation Support for DSP System Toolbox. For digital filter designs in MATLAB, use Filter Design HDL Coder™ to generate HDL code and optimize filter implementation for hardware speed or area. For details, see Generate HDL from Filter System Objects (Filter Design HDL Coder). Both HDL Coder and Filter Design HDL Coder generate target-independent synthesizable Verilog™ and VHDL™ code for FPGA programming or ASIC prototyping and design. They also generate scripts and test benches for use with third-party HDL simulators.