Configuring Bus Communication for Generating Bus Simulation Containers with a New Simulink Implementation Container

Introduction

You need a behavior model if signal values have to change dynamically during run time, e.g., to dynamically respond to signals received from an ECU under test. To generate bus simulation containers, the model must be a Simulink implementation container (SIC file).

If MATLAB®/Simulink® and the Model Interface Package for Simulink are installed, you can generate a Simulink model interface for the configured bus communication. You can use the generated blocks as the basis for modeling the behavior in Simulink. After you synchronized the model interfaces of the ConfigurationDesk application and in Simulink, you can generate an SIC file from the Simulink model, add the file to the ConfigurationDesk application, and generate bus simulation containers.


Workflow

The following table shows detailed workflow steps and indicates the related topics and lessons of this tutorial that guide you through the individual steps.

Step

Work

Related Topic/Lesson

1

Create a new or open an existing ConfigurationDesk project and application.

How to Open the BusManagerTutorial Project

2

Add communication matrices and bus configurations to the ConfigurationDesk application.

Lesson 1: Adding Communication Matrices and Bus Configurations to the ConfigurationDesk Application

1

Add a communication matrix.

2

Add a bus configuration.

3

Assign communication matrix elements to bus configurations for simulation, inspection, and/or manipulation purposes.

Simulation

Lesson 2: Configuring Bus Communication for Simulation Purposes

1

Assign communication matrix elements to the Simulated ECUs part of a bus configuration.

2

Configure bus communication for simulation by using bus configuration features

3

Enable model access for the function ports whose signals you want to use in the Simulink implementation container.

Inspection

Lesson 6: Configuring Bus Communication for Inspection Purposes

1

Assign communication matrix elements to the Inspection part of a bus configuration.

2

Configure bus communication for inspection by using bus configuration features

3

Enable model access for the function ports whose signals you want to use in the Simulink implementation container.

Manipulation

Lesson 7: Configuring Bus Communication for Manipulation Purposes

1

Assign communication matrix elements to the Manipulation part of a bus configuration.

2

Configure bus communication for manipulation by using bus configuration features

3

Enable model access for the function ports whose signals you want to use in the Simulink implementation container.

4

Generate a Simulink implementation container (SIC file) and add it to the ConfigurationDesk application.

Lesson 9: Generating a Simulink Model and Synchronizing the Model Interfaces in ConfigurationDesk and Simulink

1

Generate a new Simulink model interface.

2

Save the Simulink model.

3

Add the Simulink model to the ConfigurationDesk application.

4

Select the target architecture that is compatible with your simulation platform.

5

Build a Simulink implementation container (SIC file) from the Simulink model.

6

In the ConfigurationDesk application, replace the Simulink model with the Simulink implementation container.

5

Generate bus simulation containers.

Lesson 4: Generating Bus Simulation Containers

1

Check the Conflicts Viewer for conflicts and resolve the conflicts, if necessary.

2

Generate bus simulation containers (BSC files).


Redaction