Home
Scholarly Works
On-the-fly Translation and Execution of OCL-like...
Conference

On-the-fly Translation and Execution of OCL-like Queries on Simulink Models

Abstract

MATLAB/Simulink is a tool for dynamic system modelling. Model management languages such as OCL, ATL and the languages of the Epsilon platform tend to focus on the Eclipse Modelling Framework (EMF), a de facto standard for domain specific modelling. As Simulink models are built on an entirely different technical stack, the current solution to manipulate them using such languages requires their transformation into an EMF-compatible representation. This approach is expensive as the cost of the transformation can be crippling for large models, it requires the synchronisation of the native Simulink model and its EMF counterpart, and the EMF-representation may be an incomplete copy of the model. In this paper we propose an alternative approach that uses the MATLAB API to bridge Simulink models with existing model management languages that relies on the “on-the-fly” translation of model management language constructs into MATLAB commands. Our approach eliminates the cost of the transformation and of the co-evolution of the EMF-compatible representation while enabling full access to the Simulink model details. We evaluate the performance of both approaches using a set of model validation constraints executed on a sample of the largest Simulink models available on GitHub. Our evaluation suggests that the translation approach can reduce the model validation time up to 80 %.

Authors

Sanchez BA; Zolotas A; Rodriguez HH; Kolovos DS; Paige RF

Volume

00

Pagination

pp. 205-215

Publisher

Institute of Electrical and Electronics Engineers (IEEE)

Publication Date

January 15, 2019

DOI

10.1109/models.2019.000-1

Name of conference

2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems (MODELS)
View published work (Non-McMaster Users)

Contact the Experts team