MathWorks
657 Case Studies
A MathWorks Case Study
Wartsila, a global leader in large diesel and gas engines, faced rising complexity in engine control software where manual C-code development hindered specification, communication, and verification and required extensive, costly engine testing. To adopt a formal Model‑Based Design approach with executable diagrams and automatic code generation, Wartsila turned to MathWorks tools—Simulink, Stateflow, and Embedded Coder—to meet rigorous verification, validation, and time‑to‑market requirements.
MathWorks implemented a Model‑Based Design workflow using Simulink and Stateflow for modeling and Embedded Coder for automatic production code generation, plus a reusable component library and spiral development process to reduce live testing and speed implementation. The MathWorks solution produced measurable gains: reusable models and a commercial speed/load controller, up to 30% smaller code size, nearly 20% reduction in CPU execution time (about 20% faster code), and an estimated 200–300% increase in engineering productivity.
Johan Pensar
Wartsila