How to generate s-function block from Autosar SWC ?

4 Ansichten (letzte 30 Tage)
GK
GK am 2 Jan. 2020
Kommentiert: kathoor am 7 Nov. 2022
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 ?

Antworten (1)

Amit
Amit am 2 Jan. 2020
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
  2 Kommentare
GK
GK am 2 Jan. 2020
So I checked my AUTOSAR IO mapping, and all the inports/outports are already mapped.
kathoor
kathoor am 7 Nov. 2022
did you ever crack the problem cause i met the same question?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by