The TargetLink code easily matches the efficiency of human programmers in terms of memory consumption and execution speed – without compromising readability.
Once the new functions are developed and tested thoroughly, they need to be implemented on the target ECU. This means generating production code from the MATLAB®/Simulink®/Stateflow® model while taking into account the specific ECU's characteristics, such as memory and computing power.
The dSPACE production code generator, TargetLink, generates highly efficient C code straight from MATLAB/Simulink/Stateflow and allows for early verification through built-in simulation and testing. This drastically reduces the time needed for implementation and achieves systematic consistency between the specifications and the production code. Changes at the model level are quickly transferred to the code.
TargetLink was specifically designed for production-quality autocoding. The highly efficient code has two major benefits: