How do I generate SIL block for one runnable(Function) present in a Autosar Software component?
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to create a Test harness with verification mode as SIL for one unit/runnable/function present in Monitor Autosar SWC, but I am facing the error as "Configuring a subsystem as an AUTOSAR SW-Component is not supported. Please convert the subsystem to a model and then configure the model as an AUTOSAR SW-Component"
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1224992/image.png)
How could I resolve the issue?
댓글 수: 0
답변 (1개)
Atharva
2023년 9월 13일
Hey Venkata,
I understand that you are trying to generate SIL Block for one unit/runnable/function.
Please note that creation of SIL block (Create a SIL or PIL block for verification of generated code) from an export function model is not supported, however you can perform SIL simulation on such models. (Select simulation mode as SIL and play button).
One can create a SIL or PIL block for a component configured for the AUTOSAR system target file. However, SIL and PIL block verification does not support code generated for Simulink Function and Function Caller blocks, for example, in AUTOSAR client-server configurations.
For more information please refer to Mathworks Documentation - https://www.mathworks.com/help/autosar/ug/verifying-the-autosar-code-with-sil-and-pil-simulations.html
I hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!