Interface with Simulink
A SimEvents® model can coexist with time-based systems in a Simulink® model. The combination of time- and event-based modeling facilitates the simulation of large-scale sophisticated hybrid systems.
In a message-based communication framework, you can use Simulink messages to create the communication interface. By using message blocks, you can convert Simulink signals produced by an algorithm in a component to a message to be communicated to the network. You can generate code for the component including message interface. You can use SimEvents blocks to model and simulate custom communication patterns including routing, delays, and prioritization for communication between components.
- Discrete-Event Simulation in Simulink Models
SimEvents software incorporates discrete-event system modeling into the Simulink time-based framework.
- Solvers for Discrete-Event Systems
Depending on your configuration, you can use both variable-step and fixed-step solvers with discrete-event systems.
- Trigger Simulink Components with Discrete Events in SimEvents
This example shows how to use Simulink Function blocks to timestamp entities, pass entity attributes to Simulink® components, and create notification events for routing.
- Create a Hybrid Model with Time-Based and Event-Based Components
Simulate a hybrid system that has SimEvents and Simulink parts.
- Working with SimEvents and Simulink
You can exchange data between SimEvents and Simulink environments.
- Model Simple Order Fulfilment Using Autonomous Robots
Facilitate time-based and event-based systems and their communication through messages.