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.
SimEvents software incorporates discrete-event system modeling into the Simulink time-based framework.
Depending on your configuration, you can use both variable-step and fixed-step solvers with discrete-event systems.
This example shows how to use Simulink Function blocks to timestamp entities, pass entity attributes to Simulink® components, and create notification events for routing.
Simulate a hybrid system that has SimEvents and Simulink parts.
You can exchange data between SimEvents and Simulink environments.
Facilitate time-based and event-based systems and their communication through messages.