Function Caller Block "definition for the function called by Function Caller block , could not be found." Error

조회 수: 16 (최근 30일)
I use a Function Caller block in an Autosar model to map to a Client port. The model generates code and arxml successfully, however it gives simulation error "definition for the function called by Function Caller block , could not be found.". I try to put Simulink Function block with same name and make related Autosar mappings; this time simulation passess but it gives Autosar error while trying to generate code, as
"The Function Caller block 'AutosarAdd/Runnable_Subtract/Function Caller' calls the Simulink Function block 'AutosarAdd/Simulink Function'. This is not allowed, because the server call point in an AUTOSAR software component cannot call the server runnable in the same instance."
  댓글 수: 2
shimaa kamel
shimaa kamel 2021년 7월 10일
Hello Brais,,
I have the same issue,,did you get any solution for this issue ?
BARIS KAYAYURT
BARIS KAYAYURT 2021년 7월 10일
The solution I found for this issue is creating another model in which I link the original model and I put matching Simulink Functions in this second model. I simulate this second model and it succeeds.

댓글을 달려면 로그인하십시오.

답변 (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