Main Content

Event Functions

Customize default model Initialize and terminate methods

Model dynamic start up and shut down behavior by adding custom routines to the default model initialize and terminate methods. During simulation, control when the methods execute with events. Create functions to reinitialize blocks with initial values.

Bloques

expandir todo

Initialize FunctionExecute subsystem on model initialize event
Reinitalize FunctionExecute subsystem on model or subsystem reinitialize event
Reset FunctionExecute subsystem on model reset event
Terminate FunctionExecute subsystem on model terminate event
State ReaderRead a block state
State WriterWrite to a block state
Parameter WriterWrite to block parameter or model workspace variable
Data Store ReadRead data from data store
Data Store WriteWrite data to data store

Temas