Theses and Dissertations
Issuing Body
Mississippi State University
Advisor
Bethel, Cindy L.
Committee Member
Haupt, Tomasz A.
Committee Member
Dampier, David A.
Date of Degree
12-14-2018
Document Type
Graduate Thesis - Open Access
Major
Computer Science
Degree Name
Master of Science
College
James Worth Bagley College of Engineering
Department
Department of Computer Science and Engineering
Abstract
Finite state machines are often used for modeling the decision logic for simulated systems. MathWorks’ Stateflow has a graphical user interface that allow users to model finite state machines. A Stateflow model can be added as a block to a Matlab/Simulink model and be executed seamlessly together. Stateflow blocks are developed as “charts” but they are natively stored as XML documents. This research explores the possibility of extracting the behavior of the finite state machines as defined in a Stateflow chart. This is done by parsing the corresponding XML document and reproducing this behavior in a C++ implementation that can be instantiated within a large, C++ based simulation system. Furthermore, the goal of this research is to develop a tool that will automatically generate an equivalent C++ representation, given an arbitrary Stateflow XML model. This research is performed in the context of developing highidelity powertrain simulations to be executed in High-Performance Computing environments.
URI
https://hdl.handle.net/11668/18650
Recommended Citation
Hannis, Melissa Katherine, "Automatic Conversion of the Mathworks' Stateflow Models to C++" (2018). Theses and Dissertations. 827.
https://scholarsjunction.msstate.edu/td/827