What kind of data type is a CAN message?
显示 更早的评论
I am trying to run a Stateflow model with VNT blocks, which will transmit CAN messages periodically. I cannot build the model because Stateflow says I need to explicitly define a data type for CAN message.
I tried the following, but to no success. A) can.Message B) CAN_MESSAGE(found this in a simulink CAN example) I am successful if I use Simulink only, as I can set the data type to "Inherit". But I need to use Stateflow for my model.
I am not sure what the exact data type is. Any help is appriciated.
1 个评论
Walter Roberson
2015-8-21
If you need to you could cast it to a byte array I suspect.
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Decision Logic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!