Massif is a new Eclipse feature to support the easy handling of MATLAB Simulink models by providing import and export capabilities to/from EMF. Just to highlight some of its unique features, Massif:

  1. Uses a general MATLAB EMF metamodel that was designed to store all information for each MATLAB block and provide the type information as defined in MATLAB using library links.

  2. Provides automated library reference processing when importing libraries and systems.

  3. Supports easier bus creator and selector handling by using direct model referencing in the EMF representation that can be automatically translated into the required fqn format as used within MATLAB Simulink.

Please note that importing and exporting is done using the command line interface of MATLAB (and not by directly parsing the .mdl or .slx files), which is the API recommended by MathWorks for accessing Simulink model information. As a consequence, for using the bridge you must have an installed MATLAB Simulink instance (with the appropriate licence) on your computer. The system was tested with Simulink R2018b, however, it should work with the newer versions (and some earlier ones as well).

The development of Massif was supported by multiple projects and partners, most notably:

  1. As the developer of the first verions the Budapest University of Technology and Economics.

  2. Embraer through the Trans-IMA (TRANSformation methods applied to the design of Integrated Modular Avionics systems) project funded by Embraer S.A.

  3. CONCERTO Artemis EU project.

  4. IncQuery Labs Ltd that provides professional support for Massif.

Known Users

Please let us know if you use Massif (e.g. open an issue)!

I. Installation

It is required to have the following tools:

  • Eclipse with Massif and prerequisites installed.

  • MATLAB (recommended R2018a or later)

II. Usage

Massif provides two basic model conversion functions:

  • Import from MATLAB to EMF (referred as import or importing)

  • Export from EMF to MATLAB (referred as export or exporting)

To use these features, choose a MATLAB provider. At this point you can choose between

  • MatlabEngine, the official Java API provided for MATLAB.

  • Command Evaluation Server, which is provided as part of Massif.

  • MatlabControl, an existing MATLAB connector (GitHub page).

The functions are available in the context menu commands of .mdl, .slx and .simulink files (right click on the files in Package Explorer) called Import Simulink Model and Export Simulink Model.

The EclipseCon 2015 demo is available from here with its video presentation from here.

Get help

If you run into any problems or have questions, do the following:

  1. Read the documentation.

  2. Look at the open and closed issues. If you need more help, open a new issue describing your problem.

III. Contributing

We welcome contributors, read the Developer Guide for setting up shop!