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 件のコメント

Mahmoud Hassanien
Mahmoud Hassanien 2018 年 2 月 4 日
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 2020 年 10 月 3 日
Hello, did you find a way to solve this?
Mahmoud Hassanien
Mahmoud Hassanien 2020 年 10 月 3 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAUTOSAR Blockset についてさらに検索

質問済み:

2018 年 1 月 31 日

コメント済み:

2020 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by