J1939 Transmit
R2026bTransmit J1939 message
Libraries:
Vehicle Network Toolbox /
J1939 Communication
Simulink Real-Time /
J1939
Description
The J1939 Transmit block transmits a J1939 message. The J1939 database file defines the nodes and parameter groups. You specify the J1939 database by using the J1939 Network Configuration block.
To use this block, you must have a license for both Vehicle Network Toolbox™ and Simulink® software.
The J1939 communication blocks support the use of Simulink accelerator and rapid accelerator modes. You can speed up the execution of your models by using these modes. For more information, see Acceleration (Simulink).
The J1939 communication blocks also support code generation that have limited deployment capabilities. Code generation requires a C++ compiler that is compatible with the code generation target. For the current list of supported compilers, see Supported and Compatible Compilers.
Examples
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"vntj1939lib/J1939 Transmit"
"slrtj1939lib/J1939 Transmit"
Example: add_block("vntj1939lib/J1939 Transmit","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2015b


