simeventsconfig - Change model settings for discrete-event simulation
Syntax
simeventsconfig
simeventsconfig(sys,'des')
simeventsconfig(sys,'hybrid')
Description
simeventsconfig changes the current system
settings to values appropriate for discrete-event simulation (DES)
modeling.
simeventsconfig(sys,'des') changes
settings of the specified system to values appropriate for discrete-event
simulation modeling.
simeventsconfig(sys,'hybrid') changes
settings of the specified system to values appropriate for modeling
systems that combine time-driven and discrete-event-driven behavior.
Algorithm
This
function assigns the following simulation settings.
| Parameter | Setting
for DES Systems | Setting for Hybrid Systems |
| SolverName | VariableStepDiscrete | ode45 |
| SolverType | Variable-step | Variable-step |
| MaxStep | inf | inf |
| SaveTime | off | off |
| SaveOutput | off | off |
| AlgebraicLoopMsg | error | error |
| SolverPrmCheckMsg | none | none |
For information
about the settings in the table, see Model Parameters in
the Simulink® documentation. For information about discrete and
continuous solvers, see Solvers in the Simulink documentation.
See Also
simeventsstartup
 | sedebug | | simeventsdocex |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit