All About Software in the Loop in MATLAB

This white paper describes how Software-in-the-Loop works in a MATLAB workflow.

You are now following this Submission

Many companies are using automatic C code generation to convert their MATLAB functions to C code. This alleviates the time-consuming task of porting complex algorithms to C. While this accelerates the process of going from MATLAB to C, the bottleneck of verifying the C code remains. This is where Software-in-the-Loop (SIL) comes in. SIL is a verification technique using a MATLAB testbench to drive an executable running outside MATLAB. SIL verifies your generated C code is correct and it profiles performance without writing code and all in the MATLAB environment.

Cite As

Kerry Schutz (2026). All About Software in the Loop in MATLAB (https://uk.mathworks.com/matlabcentral/fileexchange/60245-all-about-software-in-the-loop-in-matlab), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added a summary section to the white paper