From the series: Real-Time Software Modeling
Teresa Hubscher-Younger, MathWorks
Learn how to model software services using Simulink® Functions. 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. The Function Caller and Simulink Function use the same signature, and the signature is the prototype of the generated code for the Function Caller block, which can then be easily integrated into larger systems, a goal of Real-Time Software Modeling.
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.