Simulink error: Size of data type 'CAN_MESSAGE' has not been set
17 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!