SIL test harness creation error

10 次查看(过去 30 天)
swetha murali
swetha murali 2023-10-12
回答: Namnendra 2024-10-28,11:47
Using Matlab2019a version
Creating SIL test harness(with verification mode as SIL) for an AUTOSAR SWC. Ended up with the below error:
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.
Component is created from ARXML using this command createComponentAsModel
Although the SWC is configured for Autosar I am getting this error. Please help me with resolving this error.

回答(1 个)

Namnendra
Namnendra 2024-10-28,11:47
Hi,
When you encounter the error message "Configuring a subsystem as an AUTOSAR SW-Component is not supported," it indicates that MATLAB does not support configuring a subsystem directly as an AUTOSAR Software Component (SWC). Instead, you need to convert the subsystem into a standalone model.
1. Convert Subsystem to Model
2. Verify Configuration:
- Ensure that all AUTOSAR configurations are correctly set in the model properties.
- Check for any additional configuration settings specific to your AUTOSAR version or requirements.
3. Re-import ARXML (if necessary):
- If there are any changes in the ARXML file, re-import the ARXML to ensure all configurations are up-to-date using the `createComponentAsModel` command.
4. Update MATLAB/Simulink:
- Consider updating to a newer version of MATLAB/Simulink if possible, as there might be improvements and bug fixes related to AUTOSAR support.
By following these steps, you should be able to configure your model as an AUTOSAR SWC and successfully create a SIL test harness.

类别

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

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by