https://nl.mathworks.com/help/ecoder/ref/rtw.asap2setaddress.html
rtw.asap2SetAddress - Set ECU address in A2L file - MATLAB
This MATLAB function updates the ASAP2File by replacing placeholder ECU addresses with actual ECU addresses extracted from the InfoFile.
rtwsetecuaddressfile