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 Commenti

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.
Hello, did you find a way to solve this?
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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by