Recent advances in Simulink® and Embedded Coder® let you model classes and generate C++ code. Object-oriented design and realization is critical for service-oriented architecture and middleware, including Adaptive AUTOSAR and DDS.
Multi-instance Simulink functions are a natural way to model classes. Various levels of scoping have been added to Simulink functions over recent releases. However, traditional modeling methods, such as rate-based function export, can also be used now to model and generate C++ classes with public and private members.
This presentation is from Coder Summit Talks, which are live recordings of developers and engineers debuting their best MATLAB® and Simulink Coder™ optimizations and examples at an annual technical interchange.