What is the correct way to invoke AUTOSAR Client operation using AUTOSAR Blockset?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 30 de Mayo de 2017
Editada: MathWorks Support Team
el 1 de Jun. de 2021
I am trying to generate C code from a Simulink model configured using AUTOSAR in Simulink, but I get the following error when I attempt to use the "Invoke AUTOSAR Server Operation" block in my SWC:
ERROR: Error: Simulink Coder Error in block: block type "S-Function": Invoke AUTOSAR Server Operation block resides in a model mapped to a multi-instance AUTOSAR Software Component. This is not supported for the AUTOSAR Target. You must place this block in a model mapped to a single-instance AUTOSAR Software Component.
Also, I have seen that this block is no longer available in the latest MATLAB releases. Is it not possible to use the "Invoke AUTOSAR Server Operation" block to model my SWC in Simulink?
Respuesta aceptada
MathWorks Support Team
el 1 de Jun. de 2021
Editada: MathWorks Support Team
el 1 de Jun. de 2021
The “Invoke AUTOSAR Server operation” block is no longer the recommended approach to model Client-Server communication. Because the block has been discontinued, it cannot be guaranteed that it will work correctly in the newer releases.
Instead, we recommend the use of
, and to utilize the AUTOSAR dictionary and the code mappings to configure the C-S communication, as we explain in the
. This approach provides a more predictable and efficient behaviour, in line with the current product direction.
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!