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 Exchange에서 AUTOSAR 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