How do I generate SIL block for one runnable(Function) present in a Autosar Software component?

2 ビュー (過去 30 日間)
Venkata Narendra
Venkata Narendra 2022 年 12 月 9 日
回答済み: Atharva 2023 年 9 月 13 日
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"
How could I resolve the issue?

回答 (1 件)

Atharva
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!

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by