Main Content

stop

Set CAN channel offline

Description

example

stop(canch) stops the CAN channel canch on the CAN bus. The CAN channel also stops running when you clear canch from the workspace.

Examples

collapse all

Stop a virtual device CAN channel.

canch = canChannel('MathWorks','Virtual 1',1);
start(canch)
stop(canch)

Input Arguments

collapse all

CAN device channel, specified as a CAN channel object, that you want to stop.

Example: canChannel('NI','CAN1')

Version History

Introduced in R2009a

See Also

|