Stub AUTOSAR Server Operation

Hello,
I'm working on a model that Invokes AUTOSAR Server Operation using MATLAB 2016b as shown in the picture.
what I know is that, simulink stubs this function on its own.
what I need to do is that without changing the model or the generated code, I want to force stubbing this operation with a manually written dummy function (this operation isn't the one under investigation) and run MIL and SIL for the whole model.
Is that possible?

3 commentaires

Mahmoud Hassanien
Mahmoud Hassanien le 4 Fév 2018
I watched what's in this link Configure AUTOSAR Server and it gave me the shown error
and I don't know what to do.
Krasimir Milev
Krasimir Milev le 3 Oct 2020
Hello, did you find a way to solve this?
Mahmoud Hassanien
Mahmoud Hassanien le 3 Oct 2020
I had to replace this block with function caller block. With fuction caller blocks you can create a simulink function with the same prototype and inside add an inport to inject a value to be as a function output or add an outport and connect it to the function input to see it.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by