| Contents | Index |
transmitEvent(canch, msg, 'state')
transmitEvent(canch, msg, 'state') enables an event-based transmit of the CAN message, msg, on the channel, canch when 'state' is On and disables it when 'state' is Off.
Construct a CAN channel and configure a message on the channel:
canch = canChannel('Vector', 'CANCaseXL 1', 1);
msg = canMessage(500, false, 4);
Enable the message for event-based transmit, start the channel, and change some data to trigger the event-based transmit:
transmitEvent(ch, msg, 'On'); start(canch); msg.Data = [1 2 3 4];
canChannel | canMessage | transmitConfiguration | transmitPeriodic

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |