Abstract
Simulink and Stateflow (SL/SF) models are being widely used to design and develop embedded systems. Often the SL/SF models of embedded controllers turn out to be large and consist of many subsystems and hierarchies. When such a system is maintained, it becomes difficult to manually analyse the model to identify the impacted elements due to the existence of several explicit and implicit dependencies among the model elements. To automate the analysis of an SL/SF model, we propose a metamodel to capture various types of dependencies existing across the basic blocks. We have named this metamodel Simulink dependency graph (SLDG). We investigate the use of SLDG in change impact visualization and regression test selection. We have developed a prototype tool by implementing our approach for the aforementioned applications.
Similar content being viewed by others
References
Reicherdt R, Glesner S (2012) Slicing MATLAB Simulink models. In: 34th international conference on software engineering (ICSE)
The MathWorks, Inc. http://www.mathworks.com. Accessed Apr 2013
The MathWorks Inc. Simulink design verifier, user’s guide
Mund G, Mall R (2006) An efficient interprocedural dynamic slicing method. J Syst Softw 79(6):791–806
(2013) A metamodel for Simulink/Stateflow models and its applications, IIT Kharagpur
Online link. http://www.mathworks.in/help/simulink/slref/set_param.html. Accessed Apr 2013
Graph visualization software. http://www.graphviz.org. Accessed Apr 2013
Simulink library. http://www.conqat.org. Accessed Apr 2013
Korel B, Singh I, Tahat L, Vaysburg B (2003) Slicing of state based models. In: IEEE international conference on software maintenance (ICSM’03). IEEE Computer Society Press, Los Alamitos, pp 34–43
Chen Y, Probert RC, Ural H (2007) Model-based regression test suite generation using dependence analysis. ACM, New York
Wang J, Dong W, Qi ZC (2002) Slicing hierarchical automata for model checking UML statecharts. In: Proc. fourth int. conf. formal eng. methods: formal methods and software eng., pp 435–446
Van Langenhove S (Oct.2005) Internal broadcasting to slice UML state charts: as rich as needed. In: Proc. abstracts of the FNRS contact day: the theory and practice of software verification
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Prasad, S., Nayak, S., Vijay, V. et al. SLDG: a metamodel for Simulink/Stateflow models and its applications. Innovations Syst Softw Eng 12, 263–278 (2016). https://doi.org/10.1007/s11334-015-0268-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11334-015-0268-0