Manual packing of a CAN Message -> For use with VNT

1 view (last 30 days)
Hello everybody!
I created a USB2CAN interface for use on raspberry pi. This interface receives a CAN message via USB and splits the data into several arrays (id, datalength, data). Now im trying to transform these splitted informations into the "CAN_MSG" Datatype which is commonly used in the Vehicle Network Toolbox for example by Unpack Blocks. I already tried the "canMessage"-function but it doesnt work for Standalone C-Code generation.
Thank you for being helpful!

Answers (0)

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!