What is Simulink Coder? - MATLAB & Simulink
Video Player is loading.
Current Time 0:00
Duration 2:06
Loaded: 7.83%
Stream Type LIVE
Remaining Time 2:06
 
1x
  • Chapters
  • descriptions off, selected
  • en (Main), selected
    Video length is 2:06

    What is Simulink Coder?

    Simulink Coder™ generates standalone C and C++ code from Simulink® and Stateflow® models for real-time and non-real-time execution.
    The generated code is ISO compliant, so it is portable and works with virtually any compiler or processor.

    The code can be deployed for many purposes, such as rapid control prototyping of ECUs, hardware-in-the-loop testing of flight systems, and desktop prototyping of signal processing algorithms.

    With external mode simulation using XCP, you can connect to the generated executable to visualize data and tune parameters to optimize your design and inject faults conditions while the code is executing on your processor. You can export the streamed data from Simulation Data Inspector to MAT-files or other data formats.
    Simulink Coder supports Simulink blocks as well as Stateflow, Simscape™, Computer Vision Toolbox™, and other Simulink add-on products. You can incorporate algorithms written in C/C++ or MATLAB® within your models and then use Simulink Coder to generate code from them.

    Along with Simulink Real-Time™, Simulink Coder provides turnkey solutions for rapid prototyping and HIL testing that supports multicore and FPGA hardware.
    You can also deploy the generated C code directly to several popular boards for project-based learning using hardware support packages.

    If you desire production code generation, try Embedded Coder®, which lets you customize the code and optimize it for performance and readability.

    For more information on Simulink Coder or related products, refer to the product page or click on a link below.

    Published: 16 Jul 2020

    SPEAKER: Simulink coder generates standalone C and C++ code from Simulink and Stateflow models for realtime and non-realtime execution. The generated code is ISO compliant, so it's portable and works with virtually any compilers or processors. The code can be deployed for many purposes, such as rapid control prototyping of easy use, hardware-in-the-loop testing of flight systems, and desktop prototyping of signal-processing algorithms.

    With external mode simulation using XPC, you can connect to the generated executable to visualize data on parameters to optimize your design and inject full conditions while the code is executing on your processor. You can export the stream data from simulation data inspector to MAT file or other data formats. Simulink coder supports Simulink blocks as well as Stateflow, Simscape, and many other Simulink add-on products.

    You can incorporate algorithms written in C or C++ or MATLAB within your models, then use Simulink coder to generate code from them. Along with Simulink realtime, Simulink code provides turnkey solutions for rapid prototyping and hardware-in-the-loop testing that supports multicore and FPGA hardware.

    You can also deploy the generated C code directly to several popular boards for project-based learning using hardware support packages. And if you desire production code generation, try embedded coder, which lets you customize the code and optimize it for performance and readability. For more information on Simulink coder or related products, refer to the product page or click a link below.

    Related Products

    View more related videos