Main Content

Numerical Equivalence Testing

Compare results from model simulation and generated code by using test benches

Test numerical equivalence between your model and generated code by comparing simulation results to test bench results. You can generate a test bench during code generation. The test bench contains the model simulation output results, which are then compared to the generated code output results. The generated code output results are the results from running the generated code in the target IDE.

Topics

Featured Examples