Borrar filtros
Borrar filtros

Vehicle Network Toolbox Error A2L-File

4 visualizaciones (últimos 30 días)
Marcel Rathjen
Marcel Rathjen el 19 de Oct. de 2021
Respondida: SACHIN KHANDELWAL el 19 de Abr. de 2024
Dear Matlab Team,
im getting started with your Vehicle Network Toolbox in Matlab Simulink. I want to use the XCP-CAN-Configuration with A2L-Files
But when trying to import the A2L File i got an error message seen in the picture below.
I am using the A2L File from the following example.
openExample('vnt/GetStartedWithA2LFilesExample')
A2L-File: "XCPServerSineWaveGenerator.a2l"
Attachment: "XCPServerSineWaveGenerator.txt"
Are there any working examples for the XCP CAN Configuration in Simulink ?
Best Regards,
Marcel Rathjen

Respuestas (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL el 19 de Abr. de 2024
Hi Marcel,
The issue you're encountering with importing the 'a2l' file stems from the absence of 'CAN' information in the 'a2l' file, which is usually defined with the syntax:
>> /begin XCP_ON_CAN
/* code here */
>> /end XCP_ON_CAN
You can consider using the following MathWorks example:
I hope this enables you to proceed with your workflow.
Thanks!

Categorías

Más información sobre Vehicle Network Toolbox en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by