How do I generate SIL block for one runnable(Function) present in a Autosar Software component?
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Atharva
on 13 Sep 2023
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 Comments
See Also
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!