Main Content

J1939 Network Configuration

Define J1939 network configuration name and database file

  • Library:
  • Simulink Real-Time / J1939 Communication

    Vehicle Network Toolbox / J1939 Communication

  • J1939 Network Configuration block

Description

The J1939 Network Configuration block is where you define a configuration name and specify the associated user-supplied J1939 database. You can include more than one block per model, each corresponding to a unique configuration on the CAN bus.

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 Simulink models by using these modes. For more information on these modes, see the Simulink documentation.

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.

Parameters

expand all

The default value is ConfigX, where the number X increases from 1 based on the number of existing blocks.

Programmatic Use

ConfigName

An example file name, enter J1939.dbc if the file is in the current folder; otherwise enter the full path with the file name, such as C:\work\J1939.dbc.

The database file defines the J1939 parameter groups and nodes. This file must be in the DBC file format defined by Vector Informatik GmbH.

Programmatic Use

DbFile
Introduced in R2015b