automatic test generation and formal verification of
Simulink models (e.g., MathWorks’ Simulink Design
Verifier (SDV) and Reactis by Reactive Systems).
5.4 Automate, Automate, Automate
Automation of routine tasks is essential to the de-
velopment and maintenance of software (Hunt and
Thomas, 2002). Proper tools are essential in sup-
porting documentation efforts. Existing tool support
for documentation of Simulink models is not yet ade-
quate. For example, Simulink Report Generator needs
to undergo major improvements to be used as a proper
engine for automatic generation of reports from de-
fined templates. The tool described by Schaap et al.
(Schaap et al., 2018) is an academic tool that lever-
ages Simulink Report Generator and needs to be im-
proved to provide easier template customization as
well as a GUI for, at least, configuration.
MathWorks’ Simulink Requirements toolbox can
also be enhanced. As mentioned before, adding fields
for anticipated changes would improve the quality
and usefulness of the requirements in preparing a de-
sign that may be more robust with respect to future
changes. Simulink Requirements can store require-
ments only in ASCII text or MS Word. However, if re-
quirements are formalized using Simulink/Stateflow,
as Simulink/Stateflow models outside of Simulink
Requirements, they can be linked to their textual rep-
resentation in Simulink Requirements using traceabil-
ity links provided by the combination of the Simulink
Requirements and Simulink Test toolboxes. Tests
could be derived using Simulink Test or Simulink De-
sign Verifier (SDV). SDV tests can be imported into
Simulink Test, and could then be linked to require-
ments and designs.
6 CONCLUSIONS
We have presented empirical evidence that industrial
practice demonstrates a need to properly document
Simulink models. The anecdotes we presented may
be few, but they are drawn from more than five years
of experience working closely with automotive indus-
trial partners on their Simulink models. They are rep-
resentative of what we observed in general. We also
presented the case for a cultural change that we be-
lieve is required to improve both the quality and sta-
tus of documentation in the MBD process in industry.
These changes require substantial resources, as well
as direction and commitment from management. We
believe that the required resources and dedication will
pay off in the long term. As immediate future work,
a systematic approach would examine the Simulink
models documentation practices in the automotive in-
dustry and help define more precise documentation
requirements. This work would pave the way to creat-
ing effective documentation standards, defining more
concrete actions in implementing the documentation
culture, and developing better tool support.
REFERENCES
Ackermann, C., Cleaveland, R., Huang, S., Ray, A., Shel-
ton, C., and Latronico, E. (2010). Automatic require-
ment extraction from test cases. In Barringer, H., Fal-
cone, Y., Finkbeiner, B., Havelund, K., Lee, I., Pace,
G., Rosu, G., Sokolsky, O., and Tillmann, N., editors,
Runtime Verification, volume 6418 of LNCS, pages 1–
15. Springer Berlin Heidelberg.
Anderson, D. and Anderson, L. A. (2010). Beyond Change
Management. Pfeiffer, San Francisco, California.
AUTOSAR (2018). AUTOSAR – enabling innovation.
https://www.autosar.org. [Online; accessed Novem-
ber, 2018].
Barnard, P. A. (2005). Software development principles ap-
plied to graphical model development. In AIAA Mod-
eling and Simulation Technologies Conference and
Exhibit, San Francisco, CA, USA. American Institute
of Aeronautics and Astronautics.
Bender, M., Laurin, K., Lawford, M., Pantelic, V., Ko-
robkine, A., Ong, J., Mackenzie, B., Bialy, M., and
Postma, S. (2015). Signature required: Making
Simulink data flow and interfaces explicit. Science
of Computer Programming, 113, Part 1:29–50.
Bialy, M., Pantelic, V., Jaskolka, J., Schaap, A., Patcas, L.,
Lawford, M., and Wassyng, A. (2017). Software En-
gineering for Model-Based Development by Domain
Experts. In Griffor, E., editor, Handbook of System
Safety and Security, pages 39–64. Syngress, Boston,
1st edition.
Br
¨
uck, D., Elmqvist, H., Mattsson, S. E., and Olsson,
H. (2002). Dymola for multi-engineering mod-
eling and simulation. In Proceedings of Model-
ica, volume 2002. Citeseer. Online at https://w
ww.modelica.org/events/Conference2002/index
html
Garlan, D. and Perry, D. (1995). Introduction to the special
issue on software architecture. IEEE Transactions on
Software Engineering, 21(4):269–274.
Hunt, A. and Thomas, D. (2002). Ubiquitous automation.
IEEE Software, 19(1):11.
ISO (2011). ISO 26262: Road vehicles – functional safety,
International Organization for Standardization (ISO).
Lethbridge, T. C., Singer, J., and Forward, A. (2003). How
software engineers use documentation: the state of the
practice. IEEE Software, 20(6):35–39.
Mader, P., Jones, P. L., Zhang, Y., and Cleland-Huang,
J. (2013). Strategic traceability for safety-critical
projects. IEEE Software, 30(3):58–66.
Something is Rotten in the State of Documenting Simulink Models
509