- 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,
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Atharva
am 21 Jun. 2023
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 Kommentar
Siehe auch
Kategorien
Mehr zu AUTOSAR Calibration and Measurement Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!