When you first simulate the model in this example, you will see warning messages in the MATLAB Command Window about continuous states and the maximum step size. These messages appear because certain default parameters for a Simulink model are inappropriate for this particular example model, which is completely event-based and contains no blocks with continuous states. The application overrides the inappropriate parameters and alerts you to that fact.
If you want to prevent these warnings when you simulate event-based models in the future, you need to set the solver type and step size parameters to appropriate values. To do this, with your model open in the model editor, open Simulation > Configuration Parameters (или Model Configuration Parameters) > Solver:

Under the Solver options section, for the Type: parameter select the Variable-step option in the drop-down list. For the Solver: parameter, select Discrete in the drop-down list and in the field for the Max step size: parameter, type inf. Click OK and save your model (кликнуть иконку
в инструментальной строке окна SimEvents-модели dd1).