How can I set data in a Stateflow Chart to use AUTOSAR Per Instance Memory Code Mapping?

16 Ansichten (letzte 30 Tage)
I want to set some data to be Code Mapped to AUTOSAR Per Instance Memory. This data lives inside a Stateflow Chart, but I cannot access the Code Mappings Editor directly from the Stateflow Chart. How can I set chart data to use these Code Mappings?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 17 Dez. 2019
While you cannot directly access the Code Mappings Editor from within the Stateflow Chart, you can use a Data Store Memory block in Simulink:
Set the name of the Data Store Memory to be that of the data inside the Stateflow Chart that you want to map. Then, in the Code Perspective pane, they can map the Data Store to "ArTypedPerInstanceMemory".
For more information, check this link:

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by