Simulink error: Size of data type 'CAN_MESSAGE' has not been set
17 views (last 30 days)
Show older comments
Hello everyone, I am working on a model using CAN bus to receive data.But when building the model it pops out an ERROR:"Size of data type 'CAN_MESSAGE' has not been set" and I can't find solution anywhere.
My environment: Matlab2018b, Visual Studio 2015, Freescale s32ds v1.0. I am coding for a VCU which contains a MPC5744 as CPU (perhaps)
And I have asked the guy from the VCU company, he said the model seems to be fine, the problem may be about my environment or something else...
Sincere appreciation for any advice!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1707886/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1707891/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1707896/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1707901/image.png)
1 Comment
Ashok Samrat
on 23 Aug 2024 at 11:11
Hello,
Could you share you Simulink file to investigate the issue?
Answers (0)
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!