MATLAB® and Simulink®

ETAS tools are used by software and function developers as well as test engineers, calibration engineers, and research engineers for domain-specific applications in all stages of development of vehicle software. This ranges from the integration of software and control units (ECUs) to the calibration of ECUs in the vehicle. In addition, the tools MATLAB® and Simulink® are also often used in the automotive industry for the development of electronic control functions as well as for plant modeling and optimization tasks.

In order to seamlessly combine the benefits of both tool landscapes with one another, ETAS offers a broad range of interfaces to MATLAB® and Simulink®. With the help of these interfaces, engineers working in both these tool environments can be provided with suitable solutions for their respective development tasks.

The information on this page provides an overview of the MATLAB®/Simulink® interfaces offered by the ETAS tools.

Function development, measurement, and calibration

ETAS INCA-SIP is the common interface for HEX and A2L files for ETAS INCA and MATLAB®/Simulink® during runtime.

ETAS INCA-SIP – Simulink® Integration Package

The ETAS INCA-SIP – Simulink® Integration Package provides function developers with the efficient, automotive-specific INCA environment for measurement and calibration tasks and for recording the data of Simulink® models.

ETAS INCA software products enable calibration engineers to easily reuse and share experiments and data sets with one another during the development process. During simulation, INCA-SIP connects MATLAB®/Simulink® to INCA virtually using the XCP protocol.

Using ETAS INCA-MIP, developers can generate executable scripts in MATLAB® to automate INCA measurement and calibration tasks.

ETAS INCA-MIP – MATLAB® Integration Package

MATLAB® is frequently used for the optimization of engine management functions with the help of mathematical algorithms as well as for the automation of measurement and calibration tasks.

The ETAS INCA-MIP – MATLAB® Integration Package is an add-on for INCA that provides access to a wide variety of basic functions of the INCA core system by way of the MATLAB® toolbox.

After connecting function prototypes to ECUs using bypass technology, the validation engineer can validate the modeled electronic control system in the vehicle using INCA and INCA-EIP.

ETAS INTECRIO-RLINK – Prototyping Blockset

The ETAS INTECRIO-RLINK – Prototyping Blockset facilitates the rapid prototyping of Simulink® function models in real environments. It supports the ETAS ES830 Rapid Prototyping Module and the ES900 prototyping hardware family. INTECRIO-RLINK offers the same options for the configuration of ETAS prototyping hardware as the Integrated Prototyping Environment ETAS INTECRIO.

Function prototypes can be connected to ECUs using the tried-and-tested bypass technology. ETAS INCA software products then allow the user to perform in-vehicle validation of the electronic control system that was modeled in Simulink®.

With INTECRIO-RLINK, users can stay in their Simulink® environment. Several ETAS blocksets are available to them for configuration with the hardware.

Data and models generated using Simulink® can be imported and integrated for prototyping in ETAS INTECRIO.

ETAS INTECRIO – Integrated Prototyping Environment

ETAS INTECRIO is used for prototyping electronic systems in the vehicle. INTECRIO includes a rapid prototyping experiment environment and a platform for integrating function models and software components.

The ETAS INTECRIO Integrated Prototyping Environment is used for prototyping electronic systems on a PC and in the real environment. It supports the integration of MATLAB®/Simulink® models and ETAS ASCET models as well as the integration of AUTOSAR software components.

The prototyping module ES830 and the modules from the ETAS ES900 hardware family as well as different kinds of bypass technologies are supported for in-vehicle testing. Using the COM API from INTECRIO, it is possible to easily automate even complex processes. Moreover, INTECRIO can be additionally adapted to individual use cases through customer-specific engineering. INCA software products make final testing with real hardware possible in the usual way and thus ensure that universal and flexible prototyping of automotive functions can be performed.

ETAS EHOOKS is used to prepare bypass hooks in the ECU software for the purpose of prototyping, testing, and calibration.

ETAS EHOOKS – Tool for inserting bypass hooks

ETAS EHOOKS is an easy-to-use tool for inserting bypass hooks into ECU software. EHOOKS uses only HEX data and information from A2L ECU description files for this purpose.

The Simulink® Integration Package included in the scope of delivery enables the configuration and automated build of HEX data in Simulink® so that Simulink® models for on-target bypass experiments can be easily integrated into the ECU software. Since controlling the processes takes place exclusively within Simulink®, the build process is simple.

The S-function export feature makes it possible for the model code generated with ASCET to be processed in MATLAB®.

ETAS ASCET – Model-based software development

To software developers can simulate and test specific models with their code (generated using ETAS ASCET) together with MATLAB® and Simulink®. For this ASCET offers an S-function export feature that provides a suitable facility to process the code in MATLAB®. This allows developers to make use of the specific benefits of ETAS ASCET and Simulink® when modeling ECU software and modeling the physical behavior of ECU functions. Thus, for instance, physical controller functions can be developed with ASCET-DEVELOPER and exported to MATLAB®. They can then be simulated in conjunction with a route, a vehicle, and the driver model in MATLAB®.

Hardware-in-the-Loop testing (HiL)

ETAS COSYM-HiL generates an interface description for Simulink® model integration in the ETAS LABCAR-HiL environment.

ETAS LABCAR

The tool ETAS COSYM-HiL ensures Simulink® environmental models (which describe the behavior of the vehicle, driver, and environment) can be integrated in the Hardware-in-the-Loop testing system ETAS LABCAR (see LABCAR Component Overview). Here, Simulink® models can be combined and coupled with models from other sources, e.g. domain-specific simulation tools.

The ETAS LABCAR-RTPC software allows model components to be executed in parallel on a multi-core PC in real time, thus making it possible to achieve very high simulation performance.

Data-based modeling and optimization

ETAS ASCMO models can be exported in a way that maintains compatibility with MATLAB®/Simulink® formats.

ETAS ASCMO – Accurate prediction of complex system behavior

ETAS ASCMO enables the user to create data-driven plant models of a very high quality.

Using measurement data as a basis, ETAS ASCMO is able to provide accurate mathematical models of complex system behavior that can be used for performing virtual measurements. The software thus provides a fast and easy way to model even the most complex system behavior without parameterization.

The accurate ETAS ASCMO models can be exported to Simulink® at the click of the mouse button, where they can be used as components in the generation of code with Simulink CoderTM. The simulation accuracy and speed can at the same time be increased significantly with the help of the data-driven ETAS ASCMO models.

Software-in-the-Loop testing (SiL)

The S-function interface makes it possible for Simulink® models and virtual ECUs to be executed time-synchronous with one another.

ETAS ISOLAR-EVE – Interaction with virtual ECUs

ETAS ISOLAR-EVE allows ECU production code to be tested quickly and effectively on a PC. In order to do this, it generates virtual ECUs that can be integrated easily in existing execution and test environments with the help of open, versatile interfaces to simulation, testing, and calibration tools. Using an S-function interface for integration in Simulink®, it is possible to access their internal signals. This enables data to be exchanged (reading as well as writing) between Simulink® models and virtual ECUs.

The S-function interface also ensures time coordination between the Simulink® model and the virtual ECUs, so that the virtual ECUs are executed in sync with one another in virtual time. This makes it possible to test the virtual ECUs using a Simulink® simulation in closed-loop control systems.

ISOLAR-EVE also provides an integrated test framework. It enables unit and component testing for any AUTOSAR software components to be performed. If these software components are generated with Simulink® Embedded Coder, they can subsequently be tested directly with the ISOLAR-EVE test framework using an AUTOSAR OS on a PC. In the further course of the development process, it is then also easy to perform functional and integration tests with other software components (application software, basic software, RTE).

MATLAB® and Simulink® – Products