This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Display messages configured for automatic transmission





transmitConfiguration(canch) displays information about all messages in the CAN channel, canch, configured for periodic transmit or event-based transmit.

For more information on periodic transmit of messages, refer to transmitPeriodic.

For more information on event-based transmit of messages, refer to transmitEvent.


collapse all

Create two messages with different transmit settings, then view those settings.

Create a CAN channel with two messages.

canch = canChannel('Vector','Virtual 1',1);
msg1 = canMessage(500,false,8);
msg2 = canMessage(750,false,8);

Configure the transmit settings for msg1 and msg2.


Display the transmit configuration for the messages on canch .

Periodic Messages

ID  Extended Name       Data       Rate (seconds)
--- -------- ---- ---------------- --------------
750 false         0 0 0 0 0 0 0 0  1.000000

Event Messages

ID  Extended Name       Data      
--- -------- ---- ----------------
500 false         0 0 0 0 0 0 0 0

Input Arguments

collapse all

CAN channel, specified as a CAN channel object. This is the channel by which you access the CAN bus for periodic or event-based transmission.

Introduced in R2010b