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!