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.