Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

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.

ParameterSetting for DES SystemsSetting for Hybrid Systems
SolverNameVariableStepDiscreteode45
SolverTypeVariable-stepVariable-step
MaxStepinfinf
SaveTimeoffoff
SaveOutputoffoff
AlgebraicLoopMsgerrorerror
SolverPrmCheckMsgnonenone

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS