![swc1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257866/swc1.png)
How to generate s-function block from Autosar SWC ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello and Thank you,
I am trying to generate s-function block from an Autosar SWC, by right click on SWC -> C/C++ Code -> Generate S-function
But I am getting the following 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."
Could you help, if I have to do something else, change configuration setting or create new subsystem ?
댓글 수: 0
답변 (1개)
Amit
2020년 1월 2일
The particular subsystem should be configured as AUTOSAR SW component first, and all the IN/OUT ports have to be configured as AUTOSAR ports then you can make it as a separate runnable and can generate s-function.![swc1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257866/swc1.png)
![swc1.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257866/swc1.png)
댓글 수: 2
참고 항목
카테고리
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!