Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

stop

Set CAN channel offline

Syntax

stop(canch)

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')

See Also

|

Introduced in R2009a

Was this topic helpful?