Software testing

Model in loop testing

Model in loop testing for model-based embedded control software and vehicle software programs.

Model in loop testing services

Model-in-the-loop (MIL) testing validates the executable model using the simulation engine. Teams can run MIL tests in Accelerator or Normal mode, depending on whether they want to execute the model with or without a code generation step.

The advantages of MIL testing are:

  • cheap and fast to deploy.
  • useful to identify implementation-class bugs in the model, which are most bugs.
  • interactive; developers can pause and inspect the simulation.

MIL testing should be the first port of call for any team building embedded application code. It captures much of the low-hanging testing value at a fraction of the time and cost of other testing methods.

MIL testing is especially useful for teams using Test Driven Development (TDD) or Requirements Driven Development (RDD) because it has an especially fast feedback loop between model development and test results.

Cuedo Controls have deep expertise in MIL testing tools.

We help teams who are:

  • building unit and integration test harnesses in Simulink Test.
  • developing digital twins and plant models for realistic inputs and responses.
  • interpreting test results.
  • considering advanced MIL testing methods such as scripted iterations and Monte Carlo simulation.

MIL testing is one of the strongest advantages of using model-based design for embedded code. If your team is not using MIL testing to its full potential, you may not be getting the best value from your tools. Reach out to us to find out how we can help.

Related content