- Remove the Global option: If possible, try unchecking the Global option for the Simulink function causing the error. This will make the function local to the model and may allow you to map it to an AUTOSAR runnable.
- Refactor the Simulink Function: If you cannot remove the Global option, you can refactor your Simulink function to remove the global dependency. This may involve passing inputs and outputs explicitly between the function and other components in your model.
- Check AUTOSAR compatibility: Ensure that the AUTOSAR Target Compatibility Kit (TCK) for your version of Simulink is compatible with the 2022b version. Sometimes, certain features may not be supported in specific versions, and upgrading may require additional steps or changes in your model.
Mapping Simulink function to an AUTOSAR runnable is not supported for this model. To map a Simulink function to an AUTOSAR runnable,
조회 수: 12 (최근 30일)
이전 댓글 표시
Now i try to version up from 2018b to 2022b.
in that procedure, i try to code generation with 2022b autosar tlc.
but, i have some error that is 'Mapping Simulink function to an AUTOSAR runnable is not supported for this model. To map a Simulink function to an AUTOSAR runnable,'
the Simulink function occuring error is simulink function with global obtion checked.
please give me some answer to resolve that error
댓글 수: 0
답변 (1개)
Atharva
2023년 6월 21일
Hey 진회 김
The error message you encountered suggests that mapping a Simulink function to an AUTOSAR runnable is not supported in your model. Specifically, it seems that you have a Simulink function with the global option checked, and this is causing the error.
To resolve this issue, you have a few options:
Can you share your model for further assistance.
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 AUTOSAR Calibration and Measurement Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!