Is it possible to run a model with a Simulink caller block without the associated Simulink function ?
1 view (last 30 days)
Show older comments
Armel MEVELLEC
on 10 May 2016
Commented: BARIS KAYAYURT
on 26 Oct 2020
I am using the AUTOSAR toolbox but my question applies to any Client/Server design pattern in Simulink.
In my application I generate some AUTOSAR-compliant C code, I am calling a client using the Simulink Caller block. My model updates and generates well but doesn't run because the server function is not implemented:
A definition for the function '...' called by Function Caller block '...', could not be found.
this is normal since the function is an AUTOSAR Basic Software service. I don't want to create it because I won't be able to map it (it's an external call). There is the same issue in this example provided with Matlab R2016a:
help\toolbox\ecoder\examples\autosar\mControllerWithInterface_client
A solution I have found is to create a second model with some empty wrapper for each Simulink function, and then call both models together using referenced models.
But I would prefer to have a standalone model... Is it possible?
1 Comment
BARIS KAYAYURT
on 26 Oct 2020
Hi,
I have the same issue. Can you detail how you implemented --> "A solution I have found is to create a second model with some empty wrapper for each Simulink function, and then call both models together using referenced models." ?
Accepted Answer
Armel MEVELLEC
on 19 May 2016
1 Comment
BARIS KAYAYURT
on 26 Oct 2020
I could not see "invoke Server operation" in the AUTOSAR toolbox. Where can I find it and how to use it ? Can you detail ?
More Answers (0)
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!