Generate single A2L file for model by merging A2L files generated for top model and referenced models
[status, info] = rtw.asap2MergeMdlRefs(TopModel, FileName)
example
[status, info] = rtw.asap2MergeMdlRefs(TopModel, FileName) generates a single A2L file for TopModel by merging the A2L files of the top model and referenced models, saving the single A2L file as FileName.a2l.
status
info
TopModel
FileName
collapse all
Generate a single A2L file for the model by merging A2L files generated for referenced models.
% merge A2L files into single A2L file and save with custom name [status, info] = rtw.asap2MergeMdlRefs('modelName','modelasap.a2l')
status = logical 0 info = 0*0 empty char array
Name of the model.
Example: 'mymodel', 'systemModel'
'mymodel', 'systemModel'
Custom name for the generated A2L file.
Example: 'modeldata.a2l', 'systemdata.a2l'
'modeldata.a2l', 'systemdata.a2l'
Outputs the status of the A2L file merge. 0 indicate that the A2L file merge was successful and 1 indicates it was not.
Outputs the list of objects missed while merging the top model A2L file and the referenced model A2L file.
rtw.asap2SetAddress