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

11 次查看(过去 30 天)
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

采纳的回答

Rong Mi
Rong Mi 2018-5-8
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.

更多回答(1 个)

Chethan Venkatesh
Thanks for the clarification

类别

Help CenterFile Exchange 中查找有关 Inputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by