CAN unpack generate code

5 visualizaciones (últimos 30 días)
Mosen Xie
Mosen Xie el 14 de Abr. de 2016
Editada: dzid_ el 1 de En. de 2019
when try to used the can unpack block read the DBC file ,and generate c coed , but the generation code is so big ,at least 1000 lines ,so i want to know have any ways to reduce the code line.
as every know ,hands write code interpretation the CAN dbc file just simple lines code.

Respuestas (1)

dzid_
dzid_ el 1 de En. de 2019
Editada: dzid_ el 1 de En. de 2019
For me CAN unpack is also inefficient. It generates global variables for signals that I am not using (terminated). And they are Double datatype by default.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by