Can I programmatically add data access to AUTOSAR runnables?
Mostrar comentarios más antiguos
I have a subsystem with grounded inports and outports. However, I would still like for the interface generated for this subsystem to reflect data read access for the inports and write access for the outports. However, I observe the following ARXML:
<RUNNABLE-ENTITY UUID="cedfa0d7-2958-5e82-9d63-c7b2b8ccd7f4">
<SHORT-NAME>demoReport_step</SHORT-NAME>
<MINIMUM-START-INTERVAL>0</MINIMUM-START-INTERVAL>
<CAN-BE-INVOKED-CONCURRENTLY>false</CAN-BE-INVOKED-CONCURRENTLY>
<SYMBOL>demoReport_step</SYMBOL>
</RUNNABLE-ENTITY>
And the following interface in the corresponding Rte header:
#define Rte_IWrite_demoReport_init_ProvidePortF_ProvidePortF Rte_IWrite_demoReport_demoReport_init_ProvidePortF_ProvidePortF
void Rte_IWrite_demoReport_init_ProvidePortF_ProvidePortF(const myBus* u);
#define Rte_IWriteRef_demoReport_init_ProvidePortF_ProvidePortF Rte_IWriteRef_demoReport_demoReport_init_ProvidePortF_ProvidePortF
myBus* Rte_IWriteRef_demoReport_init_ProvidePortF_ProvidePortF(void);
Is it possible to prevent Simulink from optimizing away the grounded inports and outports? Is it possible to programmatically add the data access specification for these ports?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre AUTOSAR Blockset en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!