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.

discard (J1939)

Discard available parameter groups on J1939 channel

Syntax

discard(chan)

Description

example

discard(chan) deletes all parameter groups available on the J1939 channel chan. The channel also deactivates when it is cleared from memory.

Examples

collapse all

Delete all the parameter groups on a J1939 channel.

db = canDatabase('MyDatabase.dbc');
chan = j1939Channel(db,'Vector','CANCaseXL 1',1);
start(chan)

discard(chan)

Input Arguments

collapse all

J1939 channel, specified as a channel object. Use thej1939Channel function to create and define the channel.

See Also

Functions

Introduced in R2015b

Was this topic helpful?