discard (J1939)

Discard available parameter groups on J1939 channel

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