This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

transmit (J1939)

Send parameter groups via channel to J1939 bus





transmit(chan,pgrp) sends the specified parameter groups in the array pgrp onto the J1939 bus via the channel chan.


collapse all

Send the parameter group 'MyParameterGroup' to the bus.

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

Input Arguments

collapse all

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

J1939 parameter groups, specified as an array of ParameterGroup objects. Use thej1939ParameterGroup function to create and define the ParameterGroup objects.

Introduced in R2015b