Main Content

discard

Discard available parameter groups on J1939 channel

Description

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

example

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 the j1939Channel function to create and define the channel.

Version History

Introduced in R2015b

See Also

Functions