How do you create an AUTOSAR model containing non-AUTOSAR entry points so that they do not appear in the generated ARXML files?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 8 de Dic. de 2022
Editada: MathWorks Support Team
el 10 de Nov. de 2025
I am developing an AUTOSAR complex device driver using the AUTOSAR blockset. My design is for the CDD to have a 1ms rate AUTOSAR runnable function which will be called by the RTE. This should also have an interrupt driven function which should be called directly by a hardware interrupt service routine.
My model currently contains two function call subsystems with the triggers connected to root level inports. In order to generate code, Simulink maps both of these to an AUTOSAR runnable.
Is there a way to create an AUTOSAR model containing non-AUTOSAR entry point functions (not mapped to AUTOSAR runnables) so they do not appear in the generated ARXML files?
Respuesta aceptada
MathWorks Support Team
el 10 de Nov. de 2025
Editada: MathWorks Support Team
el 10 de Nov. de 2025
To model non-RTE entry point function in your CDD, you could use scoped Simulink Function which gives you the flexibility of not exposing the function to RTE and they need not map it as an AUTOSAR runnable. If you are trying to call the function bypassing the RTE, you should be able to do so by using C-Caller block or C-Function block.
Below are some useful resources that should help get started with C-Caller and C-Function blocks:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre AUTOSAR Blockset en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!