Can you use SIL/PIL on a combined MATLAB/Simulink model?

조회 수: 4 (최근 30일)
Joshua Ford
Joshua Ford 2021년 8월 31일
답변: Jesús Zambrano 2021년 8월 31일
I am testing a model which contains both MATLAB and Simulink. Is it possible to use SIL/PIL testing on both the MATLAB and Simulink components together as a combined entity? Or must the MATLAB component be tested using the MATLAB SIL/PIL and Simulink component be tested by the Simulink SIL/PIL
Thanks

답변 (1개)

Jesús Zambrano
Jesús Zambrano 2021년 8월 31일
Hey Joshua,
You can place your MATLAB code in a MATLAB function block. This block can be part of a Simulink model, and you can do SIL/PIL verification of the entire model using the SIL/PIL Manager. Try to avoid any continuous sample time in the Simulink model when doing this workflow.
For more information about the topics mentioned above can be found in the following links:
Hope it helps!
Jesús

카테고리

Help CenterFile Exchange에서 Test Model Components에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by