Can't use Simulation option 'SIL' for simulink test using Test Manager

4 views (last 30 days)
Trying Simulation option 'SIL' for Simulink test using Test Manager , but I am getting an error "This simulation mode is not supported for harness models. Please select from Normal, Accelerated or Rapid Accelerated modes." Attached the snapshot of the error. Is there any change to Simulink Test options in Matlab 2018A or any settings needed to overcome the error? Matlab version 9.4 Simulink test version 2.4

Accepted Answer

Rong Mi
Rong Mi on 8 May 2018
Hi, Based on your description, I think you created a test harness for a subsystem in your design model, and setup Simulation option 'SIL' for Simulink test using Test Manager.
In test harness, SIL mode is not supported. The reason is that we can create a SIL harness for a subsystem in the design model. During creating the test harness for a subsystem, you can specify the verification mode as "SIL" to create a SIL harness. Then you can use normal simulation mode to simulate the test harness.
Please see the following web page for the detailed explanation about creating a SIL harness for a subsystem. https://www.mathworks.com/help/sltest/ug/silpil-verification-for-a-subsystem.html .
From bulletin 8 and 9, those are the steps to create a SIL harness. Thank you.

More Answers (1)

Chethan Venkatesh
Chethan Venkatesh on 8 May 2018
Thanks for the clarification

Categories

Find more on Test Model Components in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!