How do I set a variable identifier in an xPC CAN send block for the softing CAN-AC2-PCI
显示 更早的评论
I am trying to pass a CAN message into a CAN send block for the xPC softing CAN block canac2pcisend (for the CAN-AC2-PCI hardware). I would like to be able to use a variable name for my identifier so I can put this in part of my masked subsystem and pass the value in. If I try to set the name to a variable, my input port on the block disappears. Does anyone know how to do this? Rather than having [1163] in the Identifiers field on my block, I am putting [TBCANID] and have TBCANID defined as a parameter in the mask for the subsystem this block is in. If I change what is in the brackets to anything other than a number in the allowable range, the input port just disappears.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!