How to remove particular data to be exported to A2L with coder.asap2.export?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 16 Juil 2025
Modifié(e) : MathWorks Support Team
le 10 Nov 2025
I would like to know how to eliminate particular data while exporting A2L file.
Réponse acceptée
MathWorks Support Team
le 10 Nov 2025
Modifié(e) : MathWorks Support Team
le 10 Nov 2025
There is the way of setting "Export" flag to false for particular data.
For example, the following sample-script shows the way to eliminate the measurements including "_a_Sig_".
descObj = coder.asap2.getEcuDescriptions(bdroot);
measurements = descObj.find('Measurement');
for measurement = measurements
if contains(measurement,'_a_Sig_')
set(descObj,'Measurement',measurement,Export = false);
end
end
coder.asap2.export(bdroot,CustomEcuDescriptions=descObj)
The following Linked doc. mentions the customization workflow of "coder.asap2.getEcuDescriptions".
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!