Main Content

Block Authoring

Create custom queues and servers using discrete-event system objects

SimEvents®library provides ready-to-use common design patterns that you can incorporate into your model. These patterns include models for random entity generation, random service time, and custom behavior for theEntity Gateblock, the离散事件图表块,MATLAB Discrete-Event Systemblock. For more information, seeSimEvents Common Design Patterns.

If the provided patterns are not sufficient for your design, you can useMATLAB Discrete-Event Systemblock which extends System objects to create custom SimEvents blocks in your model. This capability is useful for including algorithms. The离散事件图block uses Stateflow®charts and messages to create custom blocks in your model. This capability is useful for creating application-oriented blocks and add-on software. Examples of such software are real-time operating system schedules and communication networks. The block requires a Stateflow license. For information about block authoring and simulation integration in Simulink®, seeBlock Authoring and Simulation Integration.

Categories