Stub AUTOSAR Server Operation

2 次查看(过去 30 天)
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 个评论
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 个)

类别

Help CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by