Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2027.0.0 - English


fmiEventUpdate

Get an occurred event.

Calling Sequence

eventInfo = fmiEventUpdate(instance, intermediateResults)

Arguments

instance

tlist, an instance of a model.

intermediateResults

boolean, intermediateResults = %t or %f.

callEventUpdate

mlist, an information about an event. For more details see fmiInitialize.

Description

fmiEventUpdate is the function that is called after time, state or step event occurred. This function returns with eventInfo (for details see function fmiInitialize). If intermediateResults = false, the function returns once new consistent state has been found and the integration can be restarted. If the argument is true, then the function returns for every event iteration that is performed internally, in order to allow to get result variables after every iteration with the fmiGetXXX functions above. The function has to be called successively then until eventInfo->iterationConverged = true and has to return the final status of eventInfo->stateValueReferencesChanged and of eventInfo->stateValuesChanged.

See Also

Report an issue
<< fmiDoStep Functional Mock-up Interface (FMU) fmiFreeModelInstance >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 15 13:01:55 CEST 2026