Your real-time application is based on a real-time model, which is strictly divided into the I/O functionality in ConfigurationDesk and the behavior model in a modeling tool (MATLAB®/Simulink®). This is shown below:

In ConfigurationDesk, you implement the I/O functionality for measuring and generating signals, and access to the real-time hardware. The behavior model contains only the algorithm of the controlled system (or the control algorithm). It does not contain I/O functionality and access to the hardware. For modeling in MATLAB/Simulink, you can use Simulink Blocksets and Toolboxes from the MathWorks®. At last, Simulink behavior models must be prepared for the use in ConfigurationDesk with the features provided by the Model Interface Package for Simulink.
This concept gives you more flexibility. For example, you can change components easily while leaving other parts of the real-time model unchanged.
You can use the Bus Manager in ConfigurationDesk to configure and implement CAN and LIN communication. Note that the Bus Manager does not support FlexRay communication.
FlexRay communication can be modeled via the dSPACE FlexRay Configuration Package in a Simulink behavior model. Then, only access to the real-time hardware is added in ConfigurationDesk.
Ethernet communication can be implemented in ConfigurationDesk in the same way as the I/O functionality. Alternatively, it can be modeled via the Ethernet Configuration Package. In the latter case, only access to the real-time hardware is added in ConfigurationDesk.
To connect the I/O functionality in ConfigurationDesk with the behavior model, you need a model interface. This interface is realized via model port blocks containing at least one model port.
The model port blocks can be created in ConfigurationDesk or in the behavior model. You can synchronize the model interfaces from within ConfigurationDesk to make the blocks available in both models.

Each model port in ConfigurationDesk corresponds to exactly one model port in the behavior model. Connecting a signal to a model port in ConfigurationDesk makes the signal available at the corresponding model port in the behavior model and vice versa.
This concept allows you also to use interfaces which do not match completely. For example, you can work with model interfaces containing model port blocks which differ between ConfigurationDesk and the behavior model. Thus, the ConfigurationDesk model interface can have more model port blocks than the Simulink model interface and vice versa.
With ConfigurationDesk, you can implement a multimodel application where several behavior models are executed in parallel on the dSPACE real-time hardware (SCALEXIO, MicroAutoBox III, MicroLabBox II). As shown in the following illustration, the Configurationdesk model interface is linked to several behavior models.

To equalize both model interfaces (ConfigurationDesk model interface and Simulink model interface), you have to synchronize them. This is also necessary after you have modified the I/O functionality in ConfigurationDesk or the behavior model, if the changes affect the model interfaces.
The following data is synchronized:
Structure and elements of the model interfaces
Properties of model port blocks and model ports
To use different controlled systems or controllers with the same I/O functionality in ConfigurationDesk, you can create different behavior models with an identical model interface.

To support this use case, model port blocks (and their model ports) in the behavior model which are already a part of the model topology in ConfigurationDesk are given a unique identity by ConfigurationDesk. This allows you to move or rename the blocks in the behavior model without losing the connection to the corresponding model port block in ConfigurationDesk. The same applies when you copy a model port block with its identity from one behavior model to another.
Note that in a multimodel application, all model port blocks must have a unique identity. Thus, you cannot use a model port block with the same identity several times, for example, in several behavior models which are linked to the same ConfigurationDesk application.
ConfigurationDesk as well as Simulink provide features for you to simplify the work with Simulink behavior models.
Useful ConfigurationDesk features are accessible directly in the Simulink behavior model, for example, creating a ConfigurationDesk project, analyzing the Simulink model in ConfigurationDesk or starting a ConfigurationDesk build process. In addition, you can switch from a selected element in Simulink directly to its representative in ConfigurationDesk.
If there are any changes in the ConfigurationDesk model interface or in the Simulink model interface, the model interfaces must be synchronized. There are several commands to simplify synchronization, for example, Propagate to Simulink Model or Analyze Simulink Model (Model Interface Only).
If you execute an operation in ConfigurationDesk that requires access to MATLAB, ConfigurationDesk starts MATLAB remotely, if it is not already running. Afterwards, MATLAB opens the behavior model that is linked to the ConfigurationDesk application. However, the MATLAB session that is started from ConfigurationDesk runs independently of the ConfigurationDesk process, i.e., MATLAB is not closed when ConfigurationDesk is closed.
ConfigurationDesk lets you work with different code container files containing a behavior model. You can integrate them into your executable application and execute them on your real-time hardware. The representation of container files is part of the real-time model and the interface to the I/O functionality in ConfigurationDesk is realized via model port blocks just as with other behavior models. The following container file types are supported:
Simulink implementation container files (SIC files)
Simulink implementation containers are code containers based on a Simulink behavior model. With a Simulink implementation container file, you can separate the model code generation from the build process.
Bus simulation container files (BSC files)
A bus simulation container lets you implement CAN, LIN, or Ethernet communication in a real-time application. A bus simulation container file is configured and created with the Bus Manager or the Ethernet Configuration Package.
Functional Mock-up Units (FMU files)
FMUs are based on the Functional Mock-up Interface standard (FMI standard). The FMI standard defines an interface standard for model exchange and co-simulation. It is supported by different tools, for example, Dymola, MapleSim, and SimulationX. An FMU implements a model using the interfaces defined by the FMI standard.