Real Time Software Modeling, at a basic level, is taking Simulink® components and modeling, simulating, and targeting them for embedded software frameworks (e.g. AUTOSAR, ARINC, or your custom domain-specific framework). Simulink provides a range of modeling abstractions that help enhance your algorithm model to be suitable for mapping to scheduling, communication, memory, and diagnostic services that are provided by such frameworks.For instance, you can use:
• Specific modeling styles to partition your design for real-time scheduling
• Buses to capture software interfaces
• Simulink Functions to map to diagnostic and memory services
• Messages to tie into communication middleware
• IRT subsystems combined with state charts (from Stateflow®) to define complex power-cycle and mode-transition logic
In addition, using model reference, variant, and data management capabilities, you can build your components for maximal reuse within an application and even across multiple software frameworks. Complemented by the Simulink platform for simulating large compositions and the capabilities of Embedded Coder® for producing custom code for your software frameworks, you will have a full range of capabilities to specify, elaborate, test, and validate your software components. Explore the Related Features videos to learn more about the capabilities Simulink provides.
Part 1: Introduction to Real-Time Software Modeling with Simulink Real-Time Software Modeling helps you implement large-scale real-time systems by defining the components in a composition; simulating and testing them; generating code; and integrating the code into a larger system.
Part 2: Partitioning and Scheduling with Export Functions Partition and schedule models with the Export Function modeling style to integrate functions into your software environment easily and have a clear mapping from model to code.
Part 3: Combining Modeling Styles with Schedulable Components Rate-based subsystems can be partitioned and scheduled as well, allowing you to combine modeling styles with schedulable components.
Part 4: Modeling Software Services with Simulink Functions Use Simulink Functions to model software services. A Function Caller block can model and generate code for the client’s call to services, especially I/O services, and a Simulink Function block provides those services.