TargetLink 2024-B now supports modeling using Bus Element In/Out blocks. This simplifies the modeling of complex bus signals, particularly at interfaces, as well as access to individual bus elements. The support of in-out function parameters helps properly support external interfaces and improves the performance of the generated code.
The improved Custom Code Type II block now supports the option to use a behavior specification made available outside of the model to be able to dynamically adapt the model behavior. The development of Adaptive AUTOSAR applications was improved in two respects. Firstly, TargetLink supports the integration of the generated production code through the generation of a main.cpp function and other artifacts. Secondly, it is now possible to model diagnosis functionalities for Adaptive AUTOSAR.
To enable better modeling of the generated code, it is now possible to specify namespaces for variables and functions centrally in the Data Dictionary Manager. In addition, stack consumption and execution time can now be measured for individual functions. TargetLink also provides even better support for the use of M-API in the MATLAB® Editor. Function arguments are proposed and a short description is shown already during input in order to speed up programming.