Main Content

Numerical Equivalence Testing

Compare results from model and generated code simulations

Test numerical equivalence between your model and generated code by comparing normal mode simulation results against software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulation results. A SIL simulation compiles and runs generated source code on your development computer. A PIL simulation cross-compiles and runs object code on a target processor or instruction set simulator. You can run simulations and compare results by using the SIL/PIL Manager app or line commands.