User`s guide
1 Getting Started
1-28
This ensures that you are not using an invalid value because the toolbox does not
prevent or protect reading or writing inactive multiplexed signals.
Note: You can access both active and inactive multiplexed signals regardless of the value
of the multiplexor signal.
Refer to the canMessage function to learn more about creating messages.
Configure Silent Mode
The SilentMode property of a CAN channel specifies that the channel can only receive
messages and not transmit them. Use this property to observe all message activity on
the network and perform analysis without affecting the network state or behavior. See
SilentMode for more information.
1
Change the SilentMode property of the first CAN channel, canch1 to true:
canch.SilentMode = true
2
To see the changed property value, type:
canch1.SilentMode
MATLAB displays the changed SilentMode property value:
ans =
1
Disconnect Channels and Clean Up
• “Disconnecting the Configured Channel” on page 1-28
• “Clean Up the MATLAB Workspace” on page 1-29
Disconnecting the Configured Channel
When you no longer need to communicate with your CAN bus, disconnect the CAN
channel that you configured. Use the stop function to disconnect.
1
Stop the first channel: